mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-09 18:05:45 -04:00
Updated deprecated threading API call and updated docs
This commit is contained in:
parent
683881d6cd
commit
c18806c912
18 changed files with 38 additions and 42 deletions
|
@ -393,7 +393,7 @@ class Resource:
|
|||
the resource advertisement it will begin transferring.
|
||||
"""
|
||||
thread = threading.Thread(target=self.__advertise_job)
|
||||
thread.setDaemon(True)
|
||||
thread.daemon = True
|
||||
thread.start()
|
||||
|
||||
def __advertise_job(self):
|
||||
|
@ -421,7 +421,7 @@ class Resource:
|
|||
|
||||
def watchdog_job(self):
|
||||
thread = threading.Thread(target=self.__watchdog_job)
|
||||
thread.setDaemon(True)
|
||||
thread.daemon = True
|
||||
thread.start()
|
||||
|
||||
def __watchdog_job(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue