mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
fix: [Credential] fix timeout error
This commit is contained in:
parent
3e2d04bbd3
commit
5d7488f74a
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def _regex_findall(redis_key, regex, item_content, r_set):
|
||||||
r_serv_cache.lpush(redis_key, all_items[0])
|
r_serv_cache.lpush(redis_key, all_items[0])
|
||||||
r_serv_cache.expire(redis_key, 360)
|
r_serv_cache.expire(redis_key, 360)
|
||||||
|
|
||||||
def regex_findall(module_name, redis_key, regex, item_content, max_time=30, r_set=True):
|
def regex_findall(module_name, redis_key, regex, item_id, item_content, max_time=30, r_set=True):
|
||||||
|
|
||||||
proc = Proc(target=_regex_findall, args=(redis_key, regex, item_content, r_set, ))
|
proc = Proc(target=_regex_findall, args=(redis_key, regex, item_content, r_set, ))
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue