fix: [Credential] fix timeout error

pull/519/head
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
1 changed files with 1 additions and 1 deletions

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: