mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-06-04 21:29:15 +02:00
add option to deactivate "processing" feedback (on by default)
This commit is contained in:
parent
d35598453f
commit
814af84171
@ -135,6 +135,7 @@ class DVM:
|
|||||||
"[" + self.dvm_config.NIP89.NAME + "] Free task or Whitelisted for task " + task +
|
"[" + self.dvm_config.NIP89.NAME + "] Free task or Whitelisted for task " + task +
|
||||||
". Starting processing..")
|
". Starting processing..")
|
||||||
|
|
||||||
|
if dvm_config.SEND_FEEDBACK_EVENTS:
|
||||||
send_job_status_reaction(nip90_event, "processing", True, 0,
|
send_job_status_reaction(nip90_event, "processing", True, 0,
|
||||||
client=self.client, dvm_config=self.dvm_config)
|
client=self.client, dvm_config=self.dvm_config)
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ class DVMConfig:
|
|||||||
DB: str
|
DB: str
|
||||||
NEW_USER_BALANCE: int = 0 # Free credits for new users
|
NEW_USER_BALANCE: int = 0 # Free credits for new users
|
||||||
NIP89: NIP89Config
|
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
|
SHOW_RESULT_BEFORE_PAYMENT: bool = False # if this is true show results even when not paid right after autoprocess
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user