mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 14:37:02 +01:00
Longer delay between heartbeats
This commit is contained in:
parent
f0a295e3eb
commit
a5faea5a97
@ -461,7 +461,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
primeEmbed();
|
primeEmbed();
|
||||||
setInterval(send_socket_heartbeat, 5000);
|
setInterval(send_socket_heartbeat, 30000);
|
||||||
if (getParameterByName("username")) {
|
if (getParameterByName("username")) {
|
||||||
$("#custom_username_field").val(getParameterByName("username"));
|
$("#custom_username_field").val(getParameterByName("username"));
|
||||||
}
|
}
|
||||||
|
@ -170,7 +170,7 @@ def update_user_status(guild_id, username, user_key=None):
|
|||||||
|
|
||||||
def bump_user_presence_timestamp(guild_id, user_type, client_key):
|
def bump_user_presence_timestamp(guild_id, user_type, client_key):
|
||||||
redis_key = "MemberPresence/{}/{}/{}".format(guild_id, user_type, client_key)
|
redis_key = "MemberPresence/{}/{}/{}".format(guild_id, user_type, client_key)
|
||||||
redis_store.set(redis_key, "", 15)
|
redis_store.set(redis_key, "", 60)
|
||||||
|
|
||||||
def get_online_embed_user_keys(guild_id="*", user_type=None):
|
def get_online_embed_user_keys(guild_id="*", user_type=None):
|
||||||
if not user_type:
|
if not user_type:
|
||||||
|
Loading…
Reference in New Issue
Block a user