Add VariableManager, RpcClient classes, and cache enhancements
This commit is contained in:
parent
38092a639e
commit
e55f4d57f9
27 changed files with 606 additions and 56 deletions
|
@ -7,6 +7,7 @@ enum DatabaseObjects : string
|
|||
case PASSWORD_AUTHENTICATION = 'password_authentication.sql';
|
||||
case REGISTERED_PEERS = 'registered_peers.sql';
|
||||
case SESSIONS = 'sessions.sql';
|
||||
case VARIABLES = 'variables.sql';
|
||||
|
||||
/**
|
||||
* Returns the priority of the database object
|
||||
|
@ -17,6 +18,7 @@ enum DatabaseObjects : string
|
|||
{
|
||||
return match ($this)
|
||||
{
|
||||
self::VARIABLES => 0,
|
||||
self::REGISTERED_PEERS => 1,
|
||||
self::PASSWORD_AUTHENTICATION, self::SESSIONS => 2,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue