mirror of
https://github.com/outline/outline.git
synced 2026-11-22 22:02:35 +03:00
fix: Popularity score should be calculated hourly, not daily (#10723)
This commit is contained in:
1 parent
747fde1105
commit
8b2214fa5e
1 file changed
+1
-1
@@ -63,7 +63,7 @@ export default class UpdateDocumentsPopularityScoreTask extends BaseTask<Props>
|
||||
* Unique table name for this task run to prevent conflicts with concurrent runs
|
||||
*/
|
||||
private workingTable: string = "";
|
||||
static cron = TaskSchedule.Day;
|
||||
static cron = TaskSchedule.Hour;
|
||||
|
||||
public async perform() {
|
||||
Logger.info("task", "Updating document popularity scores…");
|
||||
|
||||
Reference in new issue
Block a user