mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 07:50:16 +02:00
Re-add TS3 group sync periodic task
This commit is contained in:
parent
0a0073509c
commit
428f044f7f
@ -671,3 +671,9 @@ def run_corp_update():
|
|||||||
logger.debug("Corp %s is owning corp" % corp)
|
logger.debug("Corp %s is owning corp" % corp)
|
||||||
except evelink.api.APIError as e:
|
except evelink.api.APIError as e:
|
||||||
logger.error("Model update failed with error code %s" % e.code)
|
logger.error("Model update failed with error code %s" % e.code)
|
||||||
|
|
||||||
|
@periodic_task(run_every=crontab(minute="*/30"))
|
||||||
|
def run_ts3_group_update():
|
||||||
|
if is_teamspeak3_active():
|
||||||
|
logger.debug("TS3 installed. Syncing local group objects.")
|
||||||
|
Teamspeak3Manager._sync_ts_group_db()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user