Skip to content

Commit ecd9be6

Browse files
committed
wip: ci debug
1 parent 1765b78 commit ecd9be6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Runtime/Client/LootLockerHTTPClient.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ private void OnDestroy()
234234

235235
void Update()
236236
{
237-
ExecutionItemsNeedingRefresh.Clear();
237+
//ExecutionItemsNeedingRefresh.Clear();
238238
// Process the execution queue
239239
foreach (var executionItem in HTTPExecutionQueue.Values)
240240
{
@@ -313,6 +313,7 @@ void Update()
313313
LootLockerLogger.Log($"Session token expired for player with ulid {refreshForPlayerUlid}. Attempting to refresh session.", LootLockerLogger.LogLevel.Warning);
314314
StartCoroutine(RefreshSession(refreshForPlayerUlid, newSessionResponse =>
315315
{
316+
LootLockerLogger.Log($"Session refresh callback received for player with ulid {refreshForPlayerUlid}. Success: {newSessionResponse.success}", LootLockerLogger.LogLevel.Warning);
316317
foreach (string executionItemId in ExecutionItemsNeedingRefresh)
317318
{
318319
if (HTTPExecutionQueue.TryGetValue(executionItemId, out var executionItem))
@@ -346,6 +347,7 @@ void Update()
346347
}
347348

348349
// Mark request as ready for continuation
350+
ExecutionItemsNeedingRefresh.Remove(executionItemId);
349351
executionItem.IsWaitingForSessionRefresh = false;
350352
}
351353
}

0 commit comments

Comments
 (0)