Add schedule.if_absent for clients that re-register periodic tasks.

schedule restarts a re-registered task's countdown, if_absent keeps the existing entry.
This commit is contained in:
xirvik
2026-08-15 22:38:24 +00:00
committed by Jari Sundell
parent 5e7dd98c67
commit 9ff0cd28d5
4 changed files with 90 additions and 2 deletions
+2
View File
@@ -35,6 +35,8 @@ rtorrent_Test_Rpc_SOURCES = $(rtorrent_Test_Common) \
rpc/test_command.h \
rpc/test_command_map.cc \
rpc/test_command_map.h \
rpc/test_command_scheduler.cc \
rpc/test_command_scheduler.h \
rpc/test_jsonrpc.cc \
rpc/test_jsonrpc.h \
rpc/test_xmlrpc.cc \