Space Station 13 - Modules - TypesVar Details - Proc Details

misc_slow

Vars

DB_OLD_RECONNECTS_ALLOWEDThe number of times dbcon_old can fail in a row before being considered dead
DB_RECONNECTS_ALLOWEDThe number of times dbcon can fail in a row before being considered dead
db_infoA convenience cache of db_status for stat_entry
db_old_infoA convenience cache of db_old_status for stat_entry
db_old_statusa list of (reconnects succeeded, reconnects failed) for dbcon_old
db_statusa list of (reconnects succeeded, reconnects failed) for dbcon

Procs

DoReconnectsRun connection maintenance for dbcon and dbcon_old, if sql is enabled correct(ish).
ReconnectDBAn ugly proc that attempts to reopen the passed database's connection if it has timed out or been lost.
RecoverDoReconnectsClear the state of members related to db connection maintenance

Var Details

DB_OLD_RECONNECTS_ALLOWED

The number of times dbcon_old can fail in a row before being considered dead

DB_RECONNECTS_ALLOWED

The number of times dbcon can fail in a row before being considered dead

db_info

A convenience cache of db_status for stat_entry

db_old_info

A convenience cache of db_old_status for stat_entry

db_old_status

a list of (reconnects succeeded, reconnects failed) for dbcon_old

db_status

a list of (reconnects succeeded, reconnects failed) for dbcon

Proc Details

DoReconnects

Run connection maintenance for dbcon and dbcon_old, if sql is enabled correct(ish).

ReconnectDB

An ugly proc that attempts to reopen the passed database's connection if it has timed out or been lost.

RecoverDoReconnects

Clear the state of members related to db connection maintenance