mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
feat(gateway): instrument shard threads with shard id
This commit is contained in:
parent
87558fb0cf
commit
0167519804
1 changed files with 1 additions and 0 deletions
|
|
@ -94,6 +94,7 @@ pub fn create_shards(redis: fred::clients::RedisPool) -> anyhow::Result<Vec<Shar
|
|||
Ok(shards_vec)
|
||||
}
|
||||
|
||||
#[tracing::instrument(fields(shard = %shard.id()), skip_all)]
|
||||
pub async fn runner(
|
||||
mut shard: Shard<RedisQueue>,
|
||||
tx: Sender<(ShardId, Event, String)>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue