Jason Perrin
Jason Perrin
> The difference between uwsgi metrics and gunicorn metrics is pull versus push. uwsgi metrics can be served directly by uwsgi whereas gunicorn must push metrics. In order to push...
> An alternative workaround would be to keep the status quo with statsd always sending metrics and _strongly_ suggesting autoscaling should be enabled. This would be compatible with moving the...
In case anyone else comes across this and wants to change the version, it's coming from `wsgiref.handlers` in the python stdlib: https://github.com/python/cpython/blob/3.11/Lib/wsgiref/handlers.py#L104 You can change to using `1.1` by doing...
Any comments on this 17 days later?
Yeah, that's fine, I have a working model right now, which is that I just zip all backups and then unzip and reupload/move to another directory for WorldEdit, which works,...
What wasn't working with WorldEdit was using //restore from a .zip, and I wasn't sure what was not working, however, when extracting the .zip it seems to work. I think...
This appears to have been officially deprecated now in pymysql (https://github.com/PyMySQL/PyMySQL/commit/1ef6c587337bd6ff3272c2c4771948676fd2a9e6) due to https://github.com/PyMySQL/PyMySQL/issues/735, so we should get to this fix in the next year, preferably sooner.
We're getting deprecation notices about this in test run outputs of ocflib now: ``` .tox/py35/lib/python3.5/site-packages/pymysql/connections.py:497 [repeats many more times] .tox/py35/lib/python3.5/site-packages/pymysql/connections.py:497 /opt/jenkins/slave/workspace/ocflib_PR-201/.tox/py35/lib/python3.5/site-packages/pymysql/connections.py:497: DeprecationWarning: Context manager API of Connection object is deprecated;...
Just adding a `pytest.ini` file with these contents makes it show the duration information, but it won't be accurate until the above issue is fixed: ``` [pytest] addopts=--durations=10 ```
I'd like to point out here that [ocfweb is actually where the API endpoints are set up](https://github.com/ocf/ocfweb/tree/master/ocfweb/api), ocflib is just a collection of shared functions pulled in by a number...