chore: Pull helio with new future (#2944)

This commit is contained in:
Vladislav 2024-04-22 20:18:10 +03:00 committed by GitHub
parent 84aa237ba7
commit 1a5eacca87
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 67 additions and 66 deletions

View file

@ -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, &params](auto index, auto* pb) {
shard_set->pool()->AwaitBrief([&sha, &params](auto index, auto* pb) {
ServerState::tlocal()->SetScriptParams(sha, params);
});
}