ChrisVilches / Github-Repos-Backup

Tool for creating a back-up of all your GitHub repositories.
0 stars 0 forks source link

Concurrency logic is wrong #1

Closed ChrisVilches closed 3 hours ago

ChrisVilches commented 6 hours ago

There are also unclosed channels and goroutines that don't end.

Channels could have size 0 since the workers would read some items right away, but the sender would block, so I can execute the sender concurrently.

ChrisVilches commented 3 hours ago

Revamped the concurrency logic. Now it's better.