fix: [Credential] fix timeout error

This commit is contained in:
Terrtia 2020-05-20 17:29:51 +02:00
parent 3e2d04bbd3
commit 5d7488f74a
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -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.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, ))
try: