Skip to content
This repository was archived by the owner on May 26, 2023. It is now read-only.

Commit 018a6ab

Browse files
committed
- Fixing session share not working first try sometimes
1 parent ee93943 commit 018a6ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/Helpers/GeneralHelper.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ public static function updateSocketSession()
8585
}
8686

8787
file_put_contents($dir . '/' . $key . '.session', json_encode($session->get('user')));
88+
89+
// Making sure it actually there before we load (only a second so no biggie)
90+
sleep(1);
8891
}
8992
}
9093

0 commit comments

Comments
 (0)