Actions
Bug #92399
openScheduler tasks are executed in the same php process
Status:
New
Priority:
Should have
Assignee:
-
Category:
scheduler
Target version:
-
Start date:
2020-09-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hi.
The new scheduler:run command runs tasks in a loop.
This can be an issue, because a single php process runs several tasks and those tasks share the same memory.
Example :
I have an issue with Solr indexing tasks: a site A is indexed and loads singletons (Extbase's configuration manager), then the site B gets the configuration manager of the site A! (both sites are on the same TYPO3 instance).
I attached a patch which modifies the scheduler command in order to execute task in subprocesses.
Files
Actions