Commit c3b29bcf authored by Yoshinori Okuji's avatar Yoshinori Okuji

Make the delay on error shorter, otherwise the whole processing becomes too...

Make the delay on error shorter, otherwise the whole processing becomes too slow when using after_method_id intensively.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3250 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 99d44df7
...@@ -41,7 +41,7 @@ INVALID_ORDER = 2 ...@@ -41,7 +41,7 @@ INVALID_ORDER = 2
# Time global parameters # Time global parameters
SECONDS_IN_DAY = 86400.0 SECONDS_IN_DAY = 86400.0
MAX_PROCESSING_TIME = 900 / SECONDS_IN_DAY # in fractions of day MAX_PROCESSING_TIME = 900 / SECONDS_IN_DAY # in fractions of day
VALIDATION_ERROR_DELAY = 120 / SECONDS_IN_DAY # in fractions of day VALIDATION_ERROR_DELAY = 30 / SECONDS_IN_DAY # in fractions of day
class Queue: class Queue:
""" """
...@@ -233,4 +233,4 @@ class Queue: ...@@ -233,4 +233,4 @@ class Queue:
""" """
delay is provided in fractions of day delay is provided in fractions of day
""" """
pass pass
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment