mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 03:16:22 -05:00
Monitoring bandwidth for 2 seconds when running status main.
Updating archive's single-file call to use asyncio as well as fixing JSON error that used to be thrown. Trying two place for single-file executable. Adding more docs to bandwidth functions. Extracting reused functions out. Testing worker. Ordering bandwidth statuses by their name. Breaking down bandwidth by interface. Splitting download buttons to avoid overflow. Creating bandwidth worker which tracks server bandwidth usage to display on the status page. Testing get_bandwidth_info() with no psutil. Using psutil to fetch status. Adding bandwidth status.
This commit is contained in:
parent
d82b7c12fb
commit
c235ef65f3
11 changed files with 475 additions and 56 deletions
|
|
@ -275,13 +275,13 @@ export function DownloadMenu({onOpen}) {
|
|||
onOpen(name)
|
||||
}
|
||||
|
||||
let body = (<ButtonGroup>
|
||||
let body = (<>
|
||||
<Button color='blue' content='Videos' onClick={() => localOnOpen('video')} style={{marginBottom: '1em'}}/>
|
||||
<Button color='green' content='Archive' onClick={() => localOnOpen('archive')} style={{marginBottom: '1em'}}/>
|
||||
<Button color='blue' content='Channel/Playlist' onClick={() => localOnOpen('video_channel')}
|
||||
style={{marginBottom: '1em'}}/>
|
||||
<Button content='RSS Feed' onClick={() => localOnOpen('rss')} style={{marginBottom: '1em'}}/>
|
||||
</ButtonGroup>);
|
||||
</>);
|
||||
|
||||
function clearSelected() {
|
||||
localOnOpen(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue