Files
Paradise/code/controllers/configuration/sections/redis_configuration.dm
warriorstar-orion 8e4dc6165b Separate station/unit tests and disable lavaland procgen and ruin spawning in tests (for now). (#28106)
* Separate station/unit tests and disable lavaland.

* add CI/local test conflict check back
2025-02-08 17:09:00 +00:00

12 lines
470 B
Plaintext

/// Config holder for all redis related things
/datum/configuration_section/redis_configuration
protection_state = PROTECTION_PRIVATE // NO! BAD!
/// Redis enabled or not
var/enabled = FALSE
/// Redis connection string. Includes passphrase if needed.
var/connstring = "redis://127.0.0.1/"
/datum/configuration_section/redis_configuration/load_data(list/data)
CONFIG_LOAD_BOOL(enabled, data["redis_enabled"])
CONFIG_LOAD_STR(connstring, data["redis_connstring"])