MCPcopy Index your code
hub / github.com/SunoAI-API/Suno-API / keep_alive

Function keep_alive

cookie.py:62–69  ·  view source on GitHub ↗
(suno_cookie: SunoCookie)

Source from the content-addressed store, hash-verified

60
61
62def keep_alive(suno_cookie: SunoCookie):
63 while True:
64 try:
65 update_token(suno_cookie)
66 except Exception as e:
67 print(e)
68 finally:
69 time.sleep(5)
70
71
72def start_keep_alive(suno_cookie: SunoCookie):

Callers

nothing calls this directly

Calls 1

update_tokenFunction · 0.85

Tested by

no test coverage detected