Roland
f3b493a5a8
Wrapping URL in archive download commands.
2022-10-25 15:07:17 -06:00
Roland
9a47135c99
Using asyncio subprocess for all archive service calls. Returning more informative errors when archive service fails.
2022-10-04 13:15:45 -06:00
Roland
c235ef65f3
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.
2022-10-03 16:44:56 -06:00
Roland
e80f24f690
Moving periodic download logic into manager so the manager can call it when it is enabled.
2022-09-25 17:27:48 -06:00
dependabot[bot]
b838164a9f
Bump sanic from 21.9.1 to 21.12.2 in /docker/archive
...
Bumps [sanic](https://github.com/sanic-org/sanic ) from 21.9.1 to 21.12.2.
- [Release notes](https://github.com/sanic-org/sanic/releases )
- [Changelog](https://github.com/sanic-org/sanic/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/sanic-org/sanic/compare/v21.9.1...v21.12.2 )
---
updated-dependencies:
- dependency-name: sanic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 05:22:07 +00:00
Roland
f9b98efa8b
Removing /etc/hosts because this does not work in docker.
2022-02-04 10:37:59 -07:00
Roland
7244f2c557
Mounting test directory to api's /media/wrolpi. Updating Archive's Sanic to avoid depreciation error with uvloop.
2022-01-22 19:54:46 -07:00
Roland
b33dabcbb0
Adding comment about logs.
2021-11-15 10:35:49 -07:00
Roland
9a94de0314
Increasing archive response timeout.
2021-11-12 12:38:54 -07:00
Roland
aa1e2f266e
Returning error when archive failed.
2021-11-10 11:19:07 -07:00
Roland
40f493ee68
Checking that file exists before checking size.
2021-11-10 11:16:10 -07:00
Roland
90d3b8ca65
Moving size check into try/except to catch FileNotFoundError.
2021-11-10 10:20:15 -07:00
Roland
d6769c4922
Compressing archive bytes before response.
2021-11-10 10:11:02 -07:00
Roland
7807c44fad
Installing curl into archive container so health check works.
2021-11-09 13:27:22 -07:00
Roland
d9fc3e3d0d
Blocking ads using /etc/hosts for archive.
2021-11-08 15:06:17 -07:00
Roland
9b899f6fc0
A new start
...
Signed-off-by: Roland <roland@learningselfreliance.com>
2021-11-01 16:43:09 -06:00