Ethan Alicea
4390bad36b
Please enter the commit message for your changes. Lines starting
...
with '#' will be ignored, and an empty message aborts the commit.
Author: Ethan Alicea <64653625+Tech-Gamer@users.noreply.github.com>
On branch develop
Your branch is up to date with 'origin/develop'.
Changes to be committed:
modified: .github/workflows/push.yaml
modified: .github/workflows/release.yaml
modified: CHANGELOG.md
modified: Dockerfile
modified: Makefile
modified: README.md
modified: cmd/configure.go
modified: cmd/diagnostics.go
modified: cmd/root.go
modified: config/config.go
modified: environment/allocations.go
modified: environment/docker.go
modified: environment/docker/api.go
modified: environment/docker/container.go
modified: environment/docker/environment.go
modified: environment/docker/power.go
modified: environment/docker/stats.go
modified: environment/environment.go
modified: environment/settings.go
modified: events/events.go
modified: go.mod
modified: internal/cron/activity_cron.go
modified: internal/cron/cron.go
modified: internal/cron/sftp_cron.go
modified: internal/database/database.go
modified: internal/progress/progress.go
modified: internal/progress/progress_test.go
modified: loggers/cli/cli.go
new file: oryxBuildBinary
modified: parser/parser.go
modified: remote/http.go
modified: remote/servers.go
modified: remote/types.go
modified: router/downloader/downloader.go
modified: router/middleware.go
modified: router/middleware/middleware.go
modified: router/middleware/request_error.go
modified: router/router.go
modified: router/router_download.go
modified: router/router_server.go
modified: router/router_server_backup.go
modified: router/router_server_files.go
modified: router/router_server_transfer.go
modified: router/router_server_ws.go
modified: router/router_system.go
modified: router/router_transfer.go
modified: router/tokens/parser.go
modified: router/websocket/listeners.go
modified: router/websocket/websocket.go
modified: server/activity.go
modified: server/backup.go
modified: server/backup/backup.go
modified: server/backup/backup_local.go
modified: server/backup/backup_s3.go
modified: server/configuration.go
modified: server/console.go
modified: server/crash.go
modified: server/events.go
modified: server/filesystem/archive.go
modified: server/filesystem/filesystem.go
modified: server/filesystem/filesystem_test.go
modified: server/install.go
modified: server/installer/installer.go
modified: server/listeners.go
modified: server/manager.go
modified: server/mounts.go
modified: server/power.go
modified: server/power_test.go
modified: server/resources.go
modified: server/server.go
modified: server/transfer/archive.go
modified: server/transfer/source.go
modified: server/transfer/transfer.go
modified: server/update.go
modified: sftp/event.go
modified: sftp/handler.go
modified: sftp/server.go
modified: wings.go
2023-09-11 17:22:09 +00:00
Dane Everitt
57daf0889a
Cleanup logic for updating stats to avoid calling mutex outside of file
2022-01-30 11:55:59 -05:00
Dane Everitt
34c0db9dff
Replace encoding/json with goccy/go-json for cpu and memory usage improvement
...
This new package has significant better resource usage, and we do a _lot_ of JSON parsing in this application, so any amount of improvement becomes significant
2022-01-23 15:17:40 -05:00
Matthew Penner
649dc9663e
Server Event Optimizations ( #116 )
2022-01-17 20:23:29 -07:00
Dane Everitt
d9ebf693e0
Make uptime available in the stat output for a container
2021-10-03 12:59:03 -07:00
Matthew Penner
3c54c1f840
break everything
...
- upgrade dependencies
- run gofmt and goimports to organize code
- fix typos
- other small tweaks
2021-08-02 15:07:00 -06:00
Jakob Schrettenbrunner
648072436f
organize imports with gopls format
2021-01-10 01:22:39 +00:00
Dane Everitt
59c30c2842
Fix use of atomics in codebase
2020-12-25 17:04:18 -08:00
Dane Everitt
c0523df696
Add a server context that gets canceled when a server is deleted
2020-12-25 11:21:09 -08:00
Dane Everitt
3495fb1c76
Less racey logic for resource usage
2020-12-16 22:03:35 -08:00
Dane Everitt
16118874cf
Don't obliterate the lock
2020-12-16 20:21:22 -08:00
Dane Everitt
4b17ac4f1c
Fix atomic string handling for JSON output
2020-11-06 22:22:33 -08:00
Dane Everitt
944d381778
Improve server state logical handling; allow setting state directly on the environment
2020-11-06 21:53:00 -08:00
Dane Everitt
e29789114c
Fix server disk usage not being reported properly; closes pterodactyl/panel#2445
2020-10-11 15:02:37 -07:00
Dane Everitt
53bd0d57ad
Replace logic with PublishJson
2020-09-12 20:13:48 -07:00
Matthew Penner
7ba32aca84
Fix some typos and run gofmt on all .go files
2020-09-05 13:08:40 -06:00
Dane Everitt
60212bb08e
Fix race condition when booting wings
2020-08-18 21:42:57 -07:00
Dane Everitt
5b241fdf36
Correctly send stats & proc information back for servers
2020-08-18 21:38:42 -07:00
Dane Everitt
e28c05ae56
Address some race conditions
2020-07-19 17:46:39 -07:00
Dane Everitt
0cbaad5c72
Completely re-work the server configuration to be separated out better
2020-07-19 16:27:55 -07:00
Dane Everitt
7e1b7e7f36
Prevent race conditions when generating archives
2020-07-16 19:56:53 -07:00
Dane Everitt
483b652087
Report memory stats using the same logic that docker uses for stats output; avoid extreme differences in output
2020-05-08 22:06:26 -07:00
Dane Everitt
2a745c5da1
Fix CPU calculation
2019-09-17 23:10:02 -07:00
Dane Everitt
9a4f1672f7
Fix logic for resource usage -- include disk and reset to 0 when stopped
2019-08-17 16:10:48 -07:00
Dane Everitt
c8e6e29abc
Add support for streaming usage stats back to the calling process
2019-08-17 13:19:56 -07:00