Skip to content

Commit

Permalink
Update weather_update_v2_hourly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Raingel authored Oct 18, 2024
1 parent 9dc6cf7 commit 423845a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion weather_update_v2_hourly.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def thread_pack (sta_id,stn_type,y):
t = threading.Thread(target=thread_pack, args=(sta_id,stn_type,y))
t.start()
waiting_list.append(t)
while len(waiting_list) >= 5:
while len(waiting_list) >= 2:
for t in waiting_list:
t.join(timeout=60)
if not t.is_alive():
Expand Down

0 comments on commit 423845a

Please sign in to comment.