mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-12 02:45:45 +02:00
chore: Pull helio with new future (#2944)
This commit is contained in:
parent
84aa237ba7
commit
1a5eacca87
18 changed files with 67 additions and 66 deletions
|
@ -336,7 +336,7 @@ vector<pair<string, ScriptMgr::ScriptData>> ScriptMgr::GetAll() const {
|
|||
}
|
||||
|
||||
void ScriptMgr::UpdateScriptCaches(ScriptKey sha, ScriptParams params) const {
|
||||
shard_set->pool()->Await([&sha, ¶ms](auto index, auto* pb) {
|
||||
shard_set->pool()->AwaitBrief([&sha, ¶ms](auto index, auto* pb) {
|
||||
ServerState::tlocal()->SetScriptParams(sha, params);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue