From 1d750acf78a9795611feba11547fc079bb9e0ab2 Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Sun, 17 Oct 2021 18:59:54 +0100 Subject: [PATCH] Flatty fixes --- code/controllers/subsystem/instancing.dm | 6 ++---- config/example/config.toml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/code/controllers/subsystem/instancing.dm b/code/controllers/subsystem/instancing.dm index 6849d71f1fd..8fd80a9bad7 100644 --- a/code/controllers/subsystem/instancing.dm +++ b/code/controllers/subsystem/instancing.dm @@ -39,7 +39,7 @@ SUBSYSTEM_DEF(instancing) if(optional_ckey) ckeys += optional_ckey // Note: We dont have to sort the list here. The only time this is read for is a search, - // and since BYOND lists are linked lists internally, order doesnt matter + // and order doesnt matter for that. var/ckey_json = json_encode(ckeys) // Yes I care about performance savings this much here to mass execute this shit @@ -108,7 +108,6 @@ SUBSYSTEM_DEF(instancing) * * Arguments: * * message - Message to send to the other servers - * * include_offline - Whether to topic offline servers on the off chance they came online */ /datum/controller/subsystem/instancing/proc/message_all_peers(message) if(!SSdbcore.IsConnected()) @@ -123,7 +122,6 @@ SUBSYSTEM_DEF(instancing) * * Arguments: * * raw_topic - The raw topic to send to the other servers - * * include_offline - Whether to topic offline servers on the off chance they came online */ /datum/controller/subsystem/instancing/proc/topic_all_peers(raw_topic) // Someone here is going to say "AA you shouldnt put load on the DB server you can do sorting in BYOND" @@ -163,7 +161,7 @@ SUBSYSTEM_DEF(instancing) * ckey - The ckey to check if they are logged into another server */ /datum/controller/subsystem/instancing/proc/check_player(ckey) - // Please see above rant on L133 + // Please see above rant on L127 var/datum/db_query/dbq1 = SSdbcore.NewQuery({" SELECT server_id, key_value FROM instance_data_cache WHERE server_id IN (SELECT server_id FROM instance_data_cache WHERE server_id != :sid AND diff --git a/config/example/config.toml b/config/example/config.toml index a929c964de5..b341021d4ec 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -727,7 +727,7 @@ topic_ip_ratelimit_bypass = ["127.0.0.1"] is_production = false # Server instance ID. This is used for tagging the server in the database # You do NOT want to change this once you are running in production -instance_id = "aa_debug" +instance_id = "paradise_main" # Server internal IP. Used if you are splitting instances over multiple internal IPs. # In most cases this is just 127.0.0.1 internal_ip = "127.0.0.1"