optimize check_results.py and add export contact

This commit is contained in:
Lei PAN
2022-05-31 23:14:55 +02:00
parent d45f78c44a
commit 08318eef74
3 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ if __name__ == '__main__':
reserve_pojo = ReserveResultPojo.from_firestore_dict(appointment.to_dict())
result_list.append(reserve_pojo)
with ThreadPoolExecutor(max_workers=20) as executor:
with ThreadPoolExecutor(max_workers=10) as executor:
for reserve in result_list:
count = count + 1
if reserve.accepted is None or ResultEnum.PENDING.value == reserve.accepted: