mirror of
https://github.com/matrix-construct/construct
synced 2024-10-01 05:08:59 +02:00
ircd:Ⓜ️:dbs: Put event_horizon resolver key buffer on stack.
This commit is contained in:
parent
ffda6a0848
commit
e8a9a52973
1 changed files with 1 additions and 1 deletions
|
@ -904,7 +904,7 @@ ircd::m::dbs::_index_event_horizon_resolve(db::txn &txn,
|
|||
const event &event,
|
||||
const write_opts &opts)
|
||||
{
|
||||
thread_local char buf[EVENT_HORIZON_KEY_MAX_SIZE];
|
||||
char buf[EVENT_HORIZON_KEY_MAX_SIZE];
|
||||
assert(opts.appendix.test(appendix::EVENT_HORIZON_RESOLVE));
|
||||
assert(opts.event_idx != 0);
|
||||
const string_view &key
|
||||
|
|
Loading…
Reference in a new issue