Close session before webcron processing

This commit is contained in:
Kijin Sung 2024-10-26 16:40:31 +09:00
parent c7d7cdda8b
commit e8c03318e4

View file

@ -41,6 +41,10 @@ if (PHP_SAPI !== 'cli')
{
ignore_user_abort(true);
set_time_limit(max(60, $timeout));
if (Rhymix\Framework\Session::checkStart())
{
Rhymix\Framework\Session::close();
}
}
// Create multiple processes if configured.