mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-09-26 03:09:06 +00:00
Increase player timeout to 5 minutes
This commit is contained in:
parent
325d55e458
commit
443bb1fc02
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ namespace LBPUnion.ProjectLighthouse.Helpers
|
|||
{
|
||||
private static readonly Database database = new();
|
||||
|
||||
public static async Task<int> RecentMatches() => await database.LastMatches.Where(l => TimestampHelper.Timestamp - l.Timestamp < 120).CountAsync();
|
||||
public static async Task<int> RecentMatches() => await database.LastMatches.Where(l => TimestampHelper.Timestamp - l.Timestamp < 300).CountAsync();
|
||||
|
||||
public static async Task<int> SlotCount() => await database.Slots.CountAsync();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue