- xp template reload now uses new pubsub

- multiplexer.GetSubscriber().subscribe is no longer used in any service
- fixed some build warnings
This commit is contained in:
Kwoth
2021-07-03 00:57:47 +02:00
parent 941d393971
commit e681978f83
5 changed files with 31 additions and 14 deletions

View File

@@ -183,7 +183,7 @@ namespace NadekoBot.Modules.Searches.Services
/// When counter reaches 0, stream is removed from tracking because
/// that means no guilds are subscribed to that stream anymore
/// </summary>
private async ValueTask HandleFollowStream(FollowStreamPubData info)
private ValueTask HandleFollowStream(FollowStreamPubData info)
{
_streamTracker.CacheAddData(info.Key, null, replace: false);
lock (_shardLock)
@@ -201,6 +201,8 @@ namespace NadekoBot.Modules.Searches.Services
};
}
}
return default;
}
/// <summary>