.curtrs may? run a little faster. Uses async, clarified GamblingConfig transactionLifetime field

This commit is contained in:
Kwoth
2022-09-28 07:09:37 +02:00
parent a8e06a5ae4
commit a5b2fac69c
3 changed files with 13 additions and 10 deletions

View File

@@ -249,7 +249,7 @@ public partial class Gambling : GamblingModule<GamblingService>
List<CurrencyTransaction> trs;
await using (var uow = _db.GetDbContext())
{
trs = uow.CurrencyTransactions.GetPageFor(userId, page);
trs = await uow.CurrencyTransactions.GetPageFor(userId, page);
}
var embed = _eb.Create()