[skip ci] Fix memory leak in MarkVideoWatchedTask

This commit is contained in:
Brahim Hadriche committed 2025-06-21 21:20:33 -04:00
1 parent 9f5efb0ba7
commit 8f8a8980df
6 files changed
+57 -30

No files matched your search

@@ -3,7 +3,7 @@ import "pkg:/source/utils/MessagePortUtils.bs"
import "pkg:/source/utils/StringUtils.bs"
' Maximum number of JobTasks that can be created
const MAX_JOB_TASK_COUNT = 15
const MAX_JOB_TASK_COUNT = 20
' Minimum number of JobTasks that will be kept alive
const MIN_JOB_TASK_COUNT = 2
' Time in milliseconds to wait before scaling down JobTasks