mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2025-12-02 06:12:36 +00:00
Import speed improvements, and adding an import URL batch size of 5,000 to stop accidental CPU overload (#549)
This commit is contained in:
@@ -13,7 +13,6 @@ from changedetectionio.notification import (
|
||||
|
||||
class model(dict):
|
||||
def __init__(self, *arg, **kw):
|
||||
super(model, self).__init__(*arg, **kw)
|
||||
self.update({
|
||||
'url': None,
|
||||
'tag': None,
|
||||
@@ -45,6 +44,9 @@ class model(dict):
|
||||
# Should be all None by default, so we use the system default in this case.
|
||||
'minutes_between_check': None
|
||||
})
|
||||
# goes at the end so we update the default object with the initialiser
|
||||
super(model, self).__init__(*arg, **kw)
|
||||
|
||||
|
||||
@property
|
||||
def has_empty_checktime(self):
|
||||
|
||||
Reference in New Issue
Block a user