further reduce subscription status updates

This commit is contained in:
Believethehype 2024-07-11 10:55:44 +02:00
parent df0b0301fc
commit b2d6c737db
2 changed files with 3 additions and 3 deletions

View File

@ -133,8 +133,8 @@ class DVM:
# If this is a subscription DVM and the Task is directed to us, check for active subscription
if dvm_config.NIP88 is not None and p_tag_str == self.dvm_config.PUBLIC_KEY:
await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client,
"Checking Subscription Status, please wait..", self.dvm_config)
#await send_job_status_reaction(nip90_event, "subscription-required", True, amount, self.client,
# "Checking Subscription Status, please wait..", self.dvm_config)
# if we stored in the database that the user has an active subscription, we don't need to check it
print("User Subscription: " + str(user.subscribed) + " Current time: " + str(
Timestamp.now().as_secs()))

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
VERSION = '0.7.1'
VERSION = '0.7.2'
DESCRIPTION = 'A framework to build and run Nostr NIP90 Data Vending Machines'
LONG_DESCRIPTION = ('A framework to build and run Nostr NIP90 Data Vending Machines. See the github repository for more information')