Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghaisheng committed Jul 26, 2024
1 parent 3c616b2 commit 3e7dc33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ async def main():
# Set tasks
pending_atomic = [{"subtopic": subtopic, "keyword": keyword.replace('"', ""), "topic": topic}
for topic, subtopics in context.items() for subtopic, keyword in subtopics.items()]
cs = CoroutineSpeedup(task_docker=[example_task])
cs = CoroutineSpeedup(task_docker=pending_atomic)
await cs.go(power=1) # Using power=1 for simplicity

if __name__ == "__main__":
Expand Down

0 comments on commit 3e7dc33

Please sign in to comment.