Flatty fixes

This commit is contained in:
AffectedArc07
2021-10-17 18:59:54 +01:00
parent 767d8e0841
commit 1d750acf78
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -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
+1 -1
View File
@@ -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"