NostrDVM: Adding Scheduler to interface

allows scheduling a task in the background (e.g. updating database, check for a time-based thing
This commit is contained in:
Believethehype
2024-03-04 15:42:37 +01:00
parent 1fd708e956
commit b28773291c
6 changed files with 72 additions and 54 deletions

View File

@@ -35,6 +35,7 @@ class DVMConfig:
NIP89: NIP89Config
SEND_FEEDBACK_EVENTS = True
SHOW_RESULT_BEFORE_PAYMENT: bool = False # if this is true show results even when not paid right after autoprocess
SCHEDULE_UPDATES_SECONDS = 0
def build_default_config(identifier):