mirror of
https://github.com/imcarlost/pidcat-repl.git
synced 2026-08-08 23:17:43 -04:00
Add unit to interval constant name
This commit is contained in:
@@ -137,7 +137,7 @@ TAGTYPES = {
|
|||||||
LOG_LINE = re.compile(r'^([A-Z])/(.+?)\( *(\d+)\): (.*?)$')
|
LOG_LINE = re.compile(r'^([A-Z])/(.+?)\( *(\d+)\): (.*?)$')
|
||||||
BUG_LINE = re.compile(r'.*nativeGetEnabledTags.*')
|
BUG_LINE = re.compile(r'.*nativeGetEnabledTags.*')
|
||||||
|
|
||||||
PS_POLLING_INTERVAL = 1
|
PS_POLLING_INTERVAL_SECS = 1
|
||||||
|
|
||||||
adb_options = []
|
adb_options = []
|
||||||
if args.device_serial:
|
if args.device_serial:
|
||||||
@@ -212,7 +212,7 @@ def update_pids():
|
|||||||
def update_pids_background():
|
def update_pids_background():
|
||||||
while True:
|
while True:
|
||||||
update_pids()
|
update_pids()
|
||||||
time.sleep(PS_POLLING_INTERVAL)
|
time.sleep(PS_POLLING_INTERVAL_SECS)
|
||||||
|
|
||||||
lock = threading.RLock()
|
lock = threading.RLock()
|
||||||
thread.start_new_thread(update_pids_background, ())
|
thread.start_new_thread(update_pids_background, ())
|
||||||
|
|||||||
Reference in New Issue
Block a user