mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Lower logging level of proxy cache messages
This commit is contained in:
parent
b81eda47aa
commit
992a37dd1b
1 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ namespace PluralKit.Bot
|
|||
|
||||
public async Task InvalidateResultsForSystem(PKSystem system)
|
||||
{
|
||||
_logger.Information("Invalidating proxy cache for system {System}", system.Id);
|
||||
_logger.Debug("Invalidating proxy cache for system {System}", system.Id);
|
||||
using (var conn = await _conn.Obtain())
|
||||
foreach (var accountId in await conn.QueryAsync<ulong>("select uid from accounts where system = @Id", system))
|
||||
_cache.Remove(GetKey(accountId));
|
||||
|
|
@ -49,7 +49,7 @@ namespace PluralKit.Bot
|
|||
|
||||
private async Task<IEnumerable<ProxyDatabaseResult>> FetchResults(ulong account, ICacheEntry entry)
|
||||
{
|
||||
_logger.Information("Members for account {Account} not in cache, fetching", account);
|
||||
_logger.Debug("Members for account {Account} not in cache, fetching", account);
|
||||
using (var conn = await _conn.Obtain())
|
||||
{
|
||||
var results = (await conn.QueryAsync<PKMember, PKSystem, ProxyDatabaseResult>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue