mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 02:45:59 +03:00
[PR #236] [MERGED] Session per thread in whagodri #241
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#241
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/B16f00t/whapa/pull/236
Author: @rational-gamer
Created: 3/23/2025
Status: ✅ Merged
Merged: 3/24/2025
Merged by: @B16f00t
Base:
master← Head:patch-1📝 Commits (1)
56c11dcSession per thread in whagodri📊 Changes
1 file changed (+70 additions, -75 deletions)
View changed files
📝
libs/whagodri.py(+70 -75)📄 Description
Rework on parallel downloads with database sync in whagodri.
one requests.Session per thread, Session with stream=True are not thread safe
added -tc, --thread_count THREADCOUNT command line argument, default to 12 (using more cause SSLError)
better queue.Queue synchronization handling
added support for KeyboardInterrupt in parallel downloads
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.