mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-12 15:44:13 +00:00
Load save and delete scripts upon connection to Redis.
This commit is contained in:
parent
0e31aa7ea0
commit
1aacca9e21
4 changed files with 40 additions and 2 deletions
|
@ -18,9 +18,15 @@
|
|||
#include "script.hpp"
|
||||
|
||||
namespace redis {
|
||||
Script::Script() :
|
||||
m_sha1(),
|
||||
m_manager(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
Script::Script (boost::string_ref parSha1, ScriptManager& parManager) :
|
||||
m_sha1(parSha1),
|
||||
m_manager(parManager)
|
||||
m_manager(&parManager)
|
||||
{
|
||||
}
|
||||
} //namespace redis
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue