mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
ircd:Ⓜ️:vm: Only call mass fetcher for multiple evals.
This commit is contained in:
parent
7fe0e9106f
commit
3db3770302
1 changed files with 2 additions and 1 deletions
|
@ -198,7 +198,8 @@ ircd::m::vm::execute(eval &eval,
|
|||
};
|
||||
|
||||
if(likely(opts.phase[phase::VERIFY] && opts.mfetch_keys))
|
||||
eval.mfetch_keys();
|
||||
if(events.size() > 1)
|
||||
eval.mfetch_keys();
|
||||
|
||||
size_t accepted(0), existed(0), i, j, k;
|
||||
for(i = 0; i < events.size(); i += j)
|
||||
|
|
Loading…
Reference in a new issue