fix: Fixes epoll calls on linux (#818)
This commit is contained in:
parent
ef761f9035
commit
f3b722b9d6
2 changed files with 5 additions and 5 deletions
|
|
@ -380,7 +380,7 @@ namespace Server.Saves
|
|||
|
||||
private static IEnumerable<string> PathsByTimestampName(string path, bool files = false)
|
||||
{
|
||||
var allItems = files ? Directory.GetFiles(path) : Directory.GetDirectories(path);
|
||||
var allItems = files ? Directory.EnumerateFiles(path) : Directory.GetDirectories(path);
|
||||
var items = new SortedDictionary<DateTime, string>(new DescendingComparer<DateTime>());
|
||||
foreach (var item in allItems)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue