-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Init migration Python 3.9 #3945
Conversation
azime
commented
Feb 22, 2023
•
edited
Loading
edited
- Debian11 (Python3.9)
Component | Debian8(Python2.7) | Debian11(Python3.9) |
---|---|---|
Jormungandr | 481.5 MB | 153.09 MB |
Tyr-web | 464.79 MBl | 90.98 MB |
Kudos, SonarCloud Quality Gate passed!
|
# Redirect apache log output to docker log collector | ||
RUN ln -sf /proc/self/fd/1 /var/log/apache2/access.log \ | ||
&& ln -sf /proc/self/fd/2 /var/log/apache2/error.log \ | ||
&& echo "net.ipv4.tcp_tw_reuse=1" >> /etc/sysctl.d/10-ipv4.conf |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment explaining why we set net.ipv4.tcp_tw_reuse=1
?
Otherwise we will quickly forget why :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tcp_tw_reuse allows the reuse of a client port immediately after the connection has been closed, even though the connection is still in TIME_WAIT state. It's important to test the configuration before to push it in production.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done
greenlet==0.4.15 ; python_version <= "3.6" | ||
pickle-mixin==1.0.2 | ||
Flask-Caching==1.7.2 ; python_version < "3.9" | ||
Flask-Caching==1.8.0 ; python_version >= "3.9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍