Skip to content

Commit

Permalink
Update document heading hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchrisadams committed Mar 15, 2024
1 parent 25af729 commit 829150a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/deployment.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Deployment
# Deployment

### Github conventions

Expand Down Expand Up @@ -250,11 +250,11 @@ These playbooks template out new scripts that supervisor the installed process m
2. [Django Dramatiq, the pacakge we use for interfacing with dramatiq](https://github.com/Bogdanp/django_dramatiq)


## Logging
### Logging

As mentioned before, we use supervisor to run our both our workers and web server processes. This means processes are restarted automatically for us, and logs are rotated for us.

## Gunicorn logging
### Gunicorn logging

By default, gunicorn, our web server logs at the `INFO` level. This means successful requests are not logged, and only errors (with the status code 5xx) or not found requests (4xx) show up in logs.

Expand Down
8 changes: 4 additions & 4 deletions docs/importers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### Automated Importers
# Automated Importers

As mentioned in [recurring tasks](recurring-tasks.md), the green web platform has a set of automated importers designed for bulk import of IP ranges from very large providers. This section details their design, and how to create new ones.

Expand Down Expand Up @@ -141,6 +141,6 @@ We also have a published API with endpoints for sending updates to a provider pr

**On using protocols, and composition rather than inheritance.**

https://hynek.me/articles/python-subclassing-redux/
https://tech.octopus.energy/news/2019/03/21/python-interfaces-a-la-go.html
https://idego-group.com/blog/2023/02/21/we-need-to-talk-about-protocols-in-python/
- https://hynek.me/articles/python-subclassing-redux/
- https://tech.octopus.energy/news/2019/03/21/python-interfaces-a-la-go.html
- https://idego-group.com/blog/2023/02/21/we-need-to-talk-about-protocols-in-python/

0 comments on commit 829150a

Please sign in to comment.