mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 09:21:39 +00:00
set daemon thread
This commit is contained in:
parent
6831777058
commit
69a4ef9d10
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ class Plugin(BasePlugin):
|
|||
return
|
||||
bundle = {"walletId": self.wallet_id, "walletNonce": self.wallet.storage.get("wallet_nonce"), "externalId": self.encode(item), "encryptedLabel": self.encode(label)}
|
||||
t = threading.Thread(target=self.do_request, args=["POST", "/label", False, bundle])
|
||||
t.setDaemon(True)
|
||||
t.start()
|
||||
self.set_nonce(self.wallet.storage.get("wallet_nonce") + 1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue