Updated Session extensions and Route Contoller

Increased the number of Poll requests and disabled an irrelevant error stating that there was a cyclical struture (Just a Doubly Linked List)
This commit is contained in:
2022-01-27 09:46:38 +00:00
parent 924e25e1c6
commit 3cb2b9c9b5
3 changed files with 7 additions and 3 deletions

View File

@ -127,7 +127,7 @@ namespace EFB.Controllers
Dictionary<string, string> headerData = new Dictionary<string, string>();
headerData.Add("Authorization", $"Bearer {user.UserToken.TokenValue}");
while (collected == false && pollCount < 3)
while (collected == false && pollCount < 15)
{
//Make Polling Request
var pollingRequest = API.Put<List<PollResponse>>($"https://api.autorouter.aero/v1.0/router/{user.RouteToken.TokenValue}/longpoll", headerData, null);