File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 146
146
new lang_string ('recentactivity ' , 'tool_crawler ' ),
147
147
get_string ('recentactivitydesc ' , 'tool_crawler ' ), '1 ' ));
148
148
149
+ // The default moodle level of concurrency is 3 so if we spawned 10 crawler
150
+ // tasks every minute then moodle may not ever be able to keep up and it will
151
+ // block other tasks from being processed in a timely fashion.
152
+ // So default to 1 to be effectively not parallel by default.
149
153
$ settings ->add (new admin_setting_configtext ('tool_crawler/max_workers ' ,
150
154
new lang_string ('max_workers ' , 'tool_crawler ' ),
151
155
new lang_string ('max_workersdesc ' , 'tool_crawler ' ),
152
- '10 ' ));
156
+ '1 ' ));
153
157
154
158
$ settings ->add (new admin_setting_configtext ('tool_crawler/maxtime ' ,
155
159
new lang_string ('maxtime ' , 'tool_crawler ' ),
You can’t perform that action at this time.
0 commit comments