Adding Download.settings column in alembic migration.

Reformatting.

Switching excluded_urls to a generic Download.settings json.

Download workers filter excluded urls.
This commit is contained in:
Roland 2022-10-11 08:12:32 -06:00
parent e7fe65258c
commit 287edad9e6
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
13 changed files with 186 additions and 37 deletions

View file

@ -78,7 +78,7 @@ export function BandwidthProgressGroup({bandwidth, ...props}) {
</Grid>
}
export function BandwidthProgressCombined({bandwidth , ...props}) {
export function BandwidthProgressCombined({bandwidth, ...props}) {
const maxBytes = bandwidth['speed'] ? bandwidth['speed'] * 125_000 : 125_000_000;
const combined = bandwidth['bytes_recv'] + bandwidth['bytes_sent']
return <BandwidthProgress label={bandwidth['name']} bytes={combined} maxBytes={maxBytes} {...props}/>