Skip to content
This repository was archived by the owner on Feb 17, 2026. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
289 commits
Select commit Hold shift + click to select a range
4bde5d5
Version 1.15.0-rc.11
grizz Oct 7, 2024
63c949b
fix issue with ListField and ListSerializer fields in auto schema cre…
vegu Oct 8, 2024
704fca7
Merge branch 'FC-4312' into 'prep-release'
Oct 8, 2024
8323e19
poetry lock
grizz Oct 8, 2024
eeed25a
Version 1.15.0-rc.12
grizz Oct 8, 2024
42d7ed1
allow logging of api actions to auditctl via configurable setup
vegu Oct 16, 2024
bc2b22c
Merge branch 'FC-4452' into 'prep-release'
vegu Oct 16, 2024
eb71949
FC-4401: Add favicon to organization branding
Oct 22, 2024
07e2b7f
Merge branch 'add-favicon-to-org-branding' into 'prep-release'
vegu Oct 22, 2024
3d1c0c5
FC-3241: Move loading shim higher on search
Oct 22, 2024
245a23d
Merge branch 'move-loading-shim-higher' into 'prep-release'
vegu Oct 22, 2024
d8a2fce
poetry lock
grizz Oct 22, 2024
37b1e85
Version 1.15.0-rc.13
grizz Oct 22, 2024
5428084
Version 1.15.0-rc.14
grizz Oct 22, 2024
64c66e3
Version 1.15.0-rc.15
grizz Oct 22, 2024
ffad9ae
Version 1.15.0-rc.16
grizz Oct 22, 2024
f57c8c9
add service specific docs link to header
vegu Oct 24, 2024
1f06153
poetry lock
grizz Oct 25, 2024
3fa4001
Version 1.15.0-rc.17
grizz Oct 25, 2024
7fa8d65
use `updated` time to determin whether or not a task is stuck
vegu Oct 28, 2024
98bda50
Merge branch 'FC-4691' into 'prep-release'
Oct 28, 2024
c752e95
self selecting task workers, poll interval to float, fix bug with tas…
vegu Oct 29, 2024
8a620c3
Merge branch 'FC-4693' into 'prep-release'
Oct 29, 2024
12cb5a1
poetry lock
grizz Oct 29, 2024
9c13be3
Version 1.15.0-rc.18
grizz Oct 29, 2024
b8e201b
fix memory leak in png graph rendering
vegu Oct 29, 2024
2499387
Merge branch 'fix-mem-leak' into 'prep-release'
Oct 29, 2024
9e4f01c
poetry lock
grizz Oct 29, 2024
eb968a5
Version 1.15.0-rc.19
grizz Oct 29, 2024
f4ec62b
impl Port.unassign
vegu Oct 30, 2024
470a79e
Ipv6 generated from ipv4 last octect
vegu Oct 30, 2024
21bde49
Merge branch 'FC-4496' into 'prep-release'
vegu Oct 30, 2024
14a6a06
Merge branch 'FC-3766' into 'prep-release'
Oct 30, 2024
da6ef28
poetry lock
grizz Oct 30, 2024
b0cbcbc
Version 1.15.0-rc.20
grizz Oct 30, 2024
02a8360
Merge branch 'FC-4501' into 'prep-release'
vegu Oct 31, 2024
149693b
icons and css for devicectl port deletion list
vegu Oct 31, 2024
d05c231
Merge branch 'FC-4502' into 'prep-release'
vegu Oct 31, 2024
e23a0ae
poetry lock
grizz Nov 4, 2024
c08fee5
Version 1.15.0-rc.21
grizz Nov 4, 2024
9b6ef83
poetry lock
grizz Nov 12, 2024
f298dc6
Version 1.15.0-rc.22
grizz Nov 12, 2024
654a636
call command task doesnt propagate error information to the task object
vegu Nov 18, 2024
d64f69d
Merge branch 'FC-4763' into 'prep-release'
vegu Nov 18, 2024
baff4a7
FC-4840: Fix bgp UX not showing
Nov 23, 2024
34ff4cf
Merge branch 'fix-bgp-ux-not-showing' into 'prep-release'
Nov 23, 2024
2ba2a54
FC-4851: Chunk event objects request
Nov 27, 2024
341d18b
Merge branch 'chunk-event-objects-request' into 'prep-release'
Nov 27, 2024
c7f746b
poetry lock
grizz Nov 27, 2024
f9fcd32
Version 1.15.0-rc.23
grizz Nov 27, 2024
7fe5499
FC-4807: Add list toggle style
Nov 27, 2024
32bb6cb
Merge branch 'drix-ux-tweaks' into 'prep-release'
Nov 27, 2024
595416b
Version 1.15.0-rc.24
grizz Nov 27, 2024
30388b2
FC-4072: Feature request suggestion form
Dec 2, 2024
d5cfaac
Merge branch 'feature-request-suggestion-form' into 'prep-release'
vegu Dec 2, 2024
1ed7bed
FC-4274: Add traffic treshold alert
Dec 2, 2024
76a51ed
Merge branch 'add-traffic-treshold-alert' into 'prep-release'
vegu Dec 2, 2024
5d93bc5
Port automation
vegu Dec 2, 2024
0100914
Merge branch 'port-automation' into 'prep-release'
vegu Dec 2, 2024
aeb23f3
linting
vegu Dec 2, 2024
0dbc275
poetry lock
grizz Dec 2, 2024
68913bf
Version 1.15.0-rc.25
grizz Dec 2, 2024
1704e5d
fix tests
vegu Dec 2, 2024
645ef29
Merge branch 'prep-release' of gitlab.fullctl.com:fullctl/fullctl int…
vegu Dec 2, 2024
60e6e77
FC-4514: Fix port stats not showing correctly
Dec 4, 2024
6e09d8a
Merge branch 'port-statistics-no-displaying-correctly' into 'prep-rel…
Dec 4, 2024
3fceef3
poetry lock
grizz Dec 4, 2024
78d82ba
Version 1.15.0-rc.26
grizz Dec 4, 2024
737e379
Version 1.15.0-rc.27
grizz Dec 4, 2024
d7eec39
poetry lock
grizz Dec 7, 2024
15cf919
Version 1.15.0-rc.28
grizz Dec 7, 2024
cf265e1
Update set event reference params
solababs Dec 7, 2024
df55d9b
Merge branch 'fix-rs-multiple-obj-returned' into 'prep-release'
Dec 8, 2024
81127eb
Version 1.15.0-rc.29
grizz Dec 8, 2024
a7d0ead
Send data as json
solababs Dec 8, 2024
507e090
Merge branch 'send-data-as-json' into 'prep-release'
Dec 8, 2024
3bae627
Version 1.15.0-rc.30
grizz Dec 8, 2024
de06a7a
FC-4908: Add bgp stats js file
Dec 10, 2024
9b2dfea
Merge branch 'add-bgp-stats-js' into 'prep-release'
Dec 10, 2024
9ec84a3
poetry lock
grizz Dec 10, 2024
85af4a8
Version 1.15.0-rc.31
grizz Dec 10, 2024
90022a4
FC-4926: Update saving poc
Jan 11, 2025
43dc670
Merge branch 'update-save-poc' into 'prep-release'
Jan 11, 2025
4435ba8
FC-4867: Add org branding to app logo
Jan 11, 2025
f4f2ec6
Merge branch 'fix-error-page-logo' into 'prep-release'
Jan 11, 2025
60bd2b1
poetry lock
grizz Jan 11, 2025
17e3478
Version 1.15.0-rc.32
grizz Jan 11, 2025
71a37c1
lock to alpine 3.20
grizz Jan 11, 2025
9943a67
Version 1.15.0-rc.33
grizz Jan 11, 2025
e79baf3
FC-5066: Update point of contact save logic
Jan 25, 2025
37a1d03
Merge branch 'update-poc-email-save-logic' into 'prep-release'
Jan 25, 2025
13589b8
poetry lock
grizz Jan 25, 2025
943a35d
Version 1.15.0-rc.34
grizz Jan 25, 2025
1756d13
devicectl creates fullctl migration when it shouldn't FC-4056
vegu Jan 29, 2025
5b97afa
Merge branch 'FC-4056' into 'prep-release'
Jan 29, 2025
5e23834
Netbox fixes
vegu Feb 4, 2025
4c7fbe0
Merge branch 'netbox-fixes-20250203' into 'prep-release'
Feb 4, 2025
f19d285
FC-4820 - auditctl and aaactl notification improvements
vegu Feb 4, 2025
fbaaa59
Merge branch 'FC-4820' into 'prep-release'
Feb 4, 2025
dec43e7
poetry lock
grizz Feb 5, 2025
ac324e2
Version 1.15.0-rc.35
grizz Feb 5, 2025
4f04c49
remove return_as_string param
solababs Feb 5, 2025
3aaa329
update type hints
solababs Feb 5, 2025
53b618e
update type hints
solababs Feb 5, 2025
f2dd07b
Merge branch 'fix-contacts-not-saving' into 'prep-release'
Feb 6, 2025
50346e9
poetry lock
grizz Feb 6, 2025
cf86bfe
Version 1.15.0-rc.36
grizz Feb 6, 2025
20e1a4f
FC-5182 - missing netbox objects
vegu Feb 14, 2025
542d504
Merge branch 'FC-5182' into 'prep-release'
Feb 14, 2025
31599d0
FC-4867 - Error page branding followup fixes
vegu Feb 14, 2025
9231a0e
Merge branch 'FC-4867-2' into 'prep-release'
Feb 14, 2025
23e7598
poetry lock
grizz Feb 14, 2025
8f0b088
Version 1.15.0-rc.37
grizz Feb 14, 2025
db02112
FC-5122: Add physical port event data, remove routeservermember
Feb 24, 2025
0dd452d
Merge branch 'remove-routeservermember' into 'prep-release'
Feb 24, 2025
44e06c3
poetry lock
grizz Feb 24, 2025
63f6a55
Version 1.15.0-rc.38
grizz Feb 24, 2025
103217f
FC-5234 - add assign_port call to the ixctl member service bridge client
vegu Feb 24, 2025
2323f7e
Merge branch 'FC-5234' into 'prep-release'
Feb 24, 2025
5e07f23
Version 1.15.0-rc.39
grizz Feb 24, 2025
f1a2736
better macaddress validation
vegu Mar 3, 2025
78f8d32
Merge branch 'FC-5303' into 'prep-release'
Mar 7, 2025
ee0a1f9
poetry lock
grizz Mar 7, 2025
6e8051f
Version 1.15.0-rc.40
grizz Mar 7, 2025
a75dc63
Fc 5084 - fix graph date selection
vegu Mar 13, 2025
7d5dfea
Merge branch 'FC-5084' into 'prep-release'
Mar 13, 2025
c1ba924
Version 1.15.0-rc.41
grizz Mar 14, 2025
91caceb
FC-2853: Improve healthcheck
Mar 17, 2025
c210193
Merge branch 'improve-healthcheck' into 'prep-release'
Mar 17, 2025
2ce6de5
Version 1.15.0-rc.42
grizz Mar 17, 2025
b6561dc
Version 1.15.0-rc.43
grizz Mar 22, 2025
9ff5d2c
migrations
vegu Mar 23, 2025
eeca4a9
Merge branch '20250323-fixes' into 'prep-release'
Mar 23, 2025
68ff1f4
Version 1.15.0-rc.44
grizz Mar 23, 2025
d06c786
FC-5395 fix TaskAlreadyClaimed error propagating to the task status
vegu Mar 25, 2025
5b8ec78
Merge branch 'FC-5395' into 'prep-release'
vegu Mar 25, 2025
c4f5197
Version 1.15.0-rc.45
grizz Mar 25, 2025
18c359c
Version 1.15.0-rc.46
grizz Mar 26, 2025
49f6e7a
FC-5399 - expose redis config
vegu Mar 27, 2025
514e82f
Merge branch 'FC-5399' into 'prep-release'
Mar 27, 2025
b63d696
FC-5112 - LoA Gen requirements
vegu Apr 1, 2025
968106f
Merge branch 'FC-5112' into 'prep-release'
vegu Apr 1, 2025
bd208e1
20250401 linting
vegu Apr 1, 2025
aa01971
Merge branch '20250401-linting' into 'prep-release'
vegu Apr 1, 2025
acedffb
Version 1.15.0-rc.47
grizz Apr 1, 2025
cdcf45c
FC-5273: Setup task heartbeat checkpoint
Apr 2, 2025
6d7f35d
Merge branch 'FC-5273-setup-task-heartbeat-checkpoint' into 'prep-rel…
Apr 2, 2025
cde9ede
Version 1.15.0-rc.48
grizz Apr 3, 2025
eea05fb
poetry lock
grizz Apr 8, 2025
d740c63
Version 1.15.0-rc.49
grizz Apr 8, 2025
6e21a30
add search field to org admin so we can autocomplete against it in ot…
vegu Apr 8, 2025
25eec40
refactor md5 sync to ixctl (service bridge client)
vegu Apr 10, 2025
beb895e
Merge branch 'FC-5428' into 'prep-release'
Apr 10, 2025
a20b995
Fc 5461 Make task heartbeat work with -p flag in prod
vegu Apr 10, 2025
a68fab7
Merge branch 'FC-5461' into 'prep-release'
Apr 10, 2025
2fa33f6
Merge branch 'FC-5462' into 'prep-release'
Apr 10, 2025
2730cfa
poetry lock
grizz Apr 10, 2025
46f1c03
Version 1.15.0-rc.50
grizz Apr 10, 2025
a42b618
close connections
vegu Apr 12, 2025
5ac772f
Merge branch 'FC-5461-fixes' into 'prep-release'
Apr 12, 2025
57ee5f4
poetry lock
grizz Apr 12, 2025
854c359
Version 1.15.0-rc.51
grizz Apr 12, 2025
4a24aae
maintain single heartbeat thread instead of opening and closing it co…
vegu Apr 14, 2025
87a85e0
Merge branch 'FC-5461-fixes-3' into 'prep-release'
Apr 14, 2025
361eae7
poetry lock
grizz Apr 14, 2025
1d13bcf
Version 1.15.0-rc.52
grizz Apr 14, 2025
9247b53
add end time to service bridge traffic functions
vegu Apr 15, 2025
d5b3b2b
Merge branch 'FC-5466' into 'prep-release'
Apr 16, 2025
1484555
FC 5328 Hilco API update request
gablooge Apr 16, 2025
661a1a5
Merge branch 'FC-5328' into 'prep-release'
Apr 16, 2025
3c4635b
Version 1.15.0-rc.53
grizz Apr 16, 2025
3529eb7
django-filter downgrade due to compatibility issues and fix deprecate…
vegu Apr 17, 2025
740dcd5
Merge branch 'FC-5431' into 'prep-release'
Apr 18, 2025
cfe4536
Version 1.15.0-rc.54
grizz Apr 18, 2025
7ee337d
render numeric values
vegu Apr 23, 2025
4d63404
Merge branch 'FC-5492' into 'prep-release'
Apr 23, 2025
0fd2716
poetry lock
grizz Apr 23, 2025
1683e96
Version 1.15.0-rc.55
grizz Apr 23, 2025
69de497
FC-5515 service bridge: devicectl virtualport update_name function added
vegu May 1, 2025
d757810
Merge branch 'FC-5515' into 'prep-release'
May 1, 2025
7901054
fix RS label in bgp stats display to show rs host name
vegu May 1, 2025
ef3626d
Merge branch 'FC-5530' into 'prep-release'
May 1, 2025
e2013bb
poetry lock
grizz May 1, 2025
d724ecf
Version 1.15.0-rc.56
grizz May 1, 2025
52145d7
FC-5538 - ixctl traffic graphs missing current number values
vegu May 7, 2025
bf09bdf
Merge branch 'FC-5538' into 'prep-release'
May 7, 2025
69da434
FC-5537 - bgp stats need to be merged, not overridden
vegu May 7, 2025
39e8402
Merge branch 'FC-5537' into 'prep-release'
May 7, 2025
be8f6c6
FC-5501: devicectl port autocomplete blank query loads first N ports …
vegu May 8, 2025
2af64cd
Merge branch 'FC-5501' into 'prep-release'
May 8, 2025
1b5602f
Version 1.15.0-rc.57
grizz May 8, 2025
45de0da
Race condition has a chance of multi task creation off of a schedule
vegu May 14, 2025
a20193a
Merge branch 'FC-5574' into 'prep-release'
May 14, 2025
8b52ae8
Version 1.15.0-rc.58
grizz May 14, 2025
ec2013a
poetry lock
grizz May 14, 2025
17364fb
Version 1.15.0-rc.59
grizz May 14, 2025
7b4c356
poetry lock
grizz May 21, 2025
69e6078
Version 1.15.0-rc.60
grizz May 21, 2025
cb0d886
fix metric datatable rendering, we already have metrics in the object…
vegu May 29, 2025
462b866
Merge branch 'FC-5598' into 'prep-release'
May 29, 2025
7a47c3e
poetry lock
grizz May 29, 2025
7aba261
Version 1.15.0-rc.61
grizz May 29, 2025
2803084
poetry lock
grizz Jun 8, 2025
986284f
Version 1.15.0-rc.62
grizz Jun 8, 2025
27fc063
poetry lock
grizz Jun 15, 2025
57fd2b0
Version 1.15.0-rc.63
grizz Jun 15, 2025
051f313
poetry lock
grizz Jun 19, 2025
3fda5f3
Version 1.15.0-rc.64
grizz Jun 19, 2025
ef7b42e
poetry lock
grizz Jul 10, 2025
2722517
Version 1.15.0-rc.65
grizz Jul 10, 2025
fa33ffd
poetry lock
grizz Aug 6, 2025
f064a5a
Version 1.15.0-rc.66
grizz Aug 6, 2025
6876ebc
tasks that have crashed and are no longer reporting heartbeats need t…
gablooge Aug 27, 2025
0bbc612
Merge branch 'FC-5772' into 'prep-release'
Aug 27, 2025
4d70110
Prefixctl prefix meta data - caching of critical error responses
gablooge Aug 27, 2025
a51095d
Merge branch 'FC-5806' into 'prep-release'
Aug 27, 2025
b71b41b
poetry lock
grizz Aug 27, 2025
912cb86
Version 1.15.0-rc.67
grizz Aug 27, 2025
0efda0f
FC-5809 Changes to prefix config page text (Hilco)
gablooge Sep 4, 2025
cd7824a
Merge branch 'FC-5809' into 'prep-release'
Sep 4, 2025
6b1c42b
FC-5857 Contact us link is white on white
gablooge Sep 4, 2025
39c5593
Merge branch 'FC-5857' into 'prep-release'
Sep 4, 2025
d0c2044
poetry lock
grizz Sep 4, 2025
4d9b58a
Version 1.15.0-rc.68
grizz Sep 4, 2025
f77c669
FC-3244: Make sure 20C branding still works after all the white label…
gablooge Sep 12, 2025
04e7cad
Merge branch 'FC-3244' into 'prep-release'
Sep 12, 2025
d9b1b8d
poetry lock
grizz Sep 14, 2025
64eaab2
Version 1.15.0-rc.69
grizz Sep 14, 2025
0c6047c
Task schedule claim can get stuck and prevent schedules from executing
vegu Sep 26, 2025
9614316
Merge branch 'FC-5947' into 'prep-release'
Sep 26, 2025
154aca6
poetry lock
grizz Sep 26, 2025
9c816a5
Version 1.15.0-rc.70
grizz Sep 26, 2025
04d1c75
fix null value formatting in speed values
vegu Sep 30, 2025
7e5eabd
Merge branch 'FC-5967' into 'prep-release'
Sep 30, 2025
517e24a
poetry lock
grizz Sep 30, 2025
ead6ede
Version 1.15.0-rc.71
grizz Sep 30, 2025
2e5e236
bump postgresql from 12 to 14
Oct 6, 2025
62ade11
Merge branch 'bump-postgres-version' into 'prep-release'
Oct 6, 2025
12ebfd9
poetry lock
grizz Oct 6, 2025
70bac1c
Version 1.15.0-rc.72
grizz Oct 6, 2025
7b414e5
FC-6130 - fix issues with task cleanup
vegu Oct 22, 2025
d1fc148
Merge branch 'FC-6130' into 'prep-release'
Oct 22, 2025
fa9db57
poetry lock
grizz Oct 22, 2025
24e49d9
Version 1.15.0-rc.73
grizz Oct 22, 2025
337c4df
poetry lock
grizz Nov 12, 2025
1f8439a
Version 1.15.0-rc.74
grizz Nov 12, 2025
825443c
poetry lock
grizz Nov 28, 2025
d67b18a
Version 1.15.0-rc.75
grizz Nov 28, 2025
e52ae14
Fullctl Running Task Cancellation
gablooge Dec 5, 2025
1412308
Merge branch 'FC-6202' into 'prep-release'
Dec 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Ctl/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.0
1.15.0-rc.75
4 changes: 2 additions & 2 deletions Ctl/dev/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3"
services:
postgres:
image: "postgres:12"
image: "postgres:14"
environment:
POSTGRES_DB: fullctl
POSTGRES_USER: fullctl
Expand Down Expand Up @@ -297,4 +297,4 @@ services:

volumes:
postgres_data:
victoria-metrics-data:
victoria-metrics-data:
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG python_ver=3.11
ARG base_repo=python
ARG base_tag=${python_ver}-alpine
ARG base_tag=${python_ver}-alpine3.20

ARG install_to=/srv/service
ARG poetry_pin="==1.5.1"
Expand Down
21 changes: 21 additions & 0 deletions docs/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
- `PEERCTL_URL` - host url for peerctl service (e.g., "https://peer.fullctl.com")
- `PREFIXCTL_URL` - host url for prefixctl service (e.g., "https://prefix.fullctl.com")
- `DEVICECTL_URL` - host url for devicectl service (e.g., "https://device.fullctl.com")
- `BRIDGE_OBJECTS_CHUNK_SIZE` - Size of chunks for objects when making bridge requests

### Logging

- `AUDITCTL_LOG_API_ACTIONS` - set up logging of REST api actions to auditctl. Should be a comma separated list of ref tags or ref_tag:action pairs. For example, `ix` or `ix,member` or `ix:create,ix:delete,member:delete`.

### Operational

Expand All @@ -42,3 +47,19 @@
- `BILLING_INTEGRATIOON` - if False will disable all billing checks
- `SERVICE_TAG` - should be the service reference tag (e.g., 'ixctl')
- `USE_LOCAL_PERMISSIONS` - if `True` permissions will be handled locally instead of through aaactl.

### Support

- `CONTACT_US_EMAIL` - email address to send contact us messages to, defaults to `SUPPORT_EMAIL`
- `SUPPORT_EMAIL` - email address to send support messages to, defaults to `SERVER_EMAIL`
- `POST_FEATURE_REQUEST_URL` - url to post feature requests to
- `DISABLE_FEATURE_REQUEST` - if `True` will disable the feature request form
- `DISABLE_HELP_MENU` - if `True` will disable the help menu in the lower right corner
- `DISABLE_CONTACT_US` - if `True` will disable the contact us form and link
- `DOCS_URL` - url to the documentation
- `LEGAL_URL` - url to the legal page
- `TERMS_OF_SERVICE_URL` - url to the terms of service page
- `PDB_OAUTH_PROMPT_LINK` - controls how call to action for linking a peeringdb account is displayed
- `never` - never show the call to action
- `no_asn` - only show if there are no ASN authorizations
- `always` - always show if there are no linked PeeringDB accounts
45 changes: 45 additions & 0 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,53 @@ manage.py fullctl_promote_user vegu -Q

Fetch and process tasks in the task queue using the `fullctl_poll_tasks` command

## Workers

```sh
manage.py fullctl_poll_tasks --workers 4
```

This will run forever and automatically fetch and process tasks that the environment is qualified to handle.

## Self selecting workers

```sh
manage.py fullctl_poll_tasks --processes 4
```

The difference between `--workers` and `--processes` is that `--processes` will spawn worker processes immediately that will poll for tasks themselves. While --workers will maintain a queue of busy and idle workers and assign tasks to them, spawning processes as tasks are assigned.

`--processes` is faster and will likely replace `--workers` in the future.

When using `--processes`, the `--workers` parameter is automatically set to 0, so you don't need to specify it manually.

### Limiting tasks per worker process

You can specify a maximum number of tasks a self-selecting worker process should handle before it exits and gets respawned. This helps prevent memory leaks or resource issues in long-running worker processes.

```sh
manage.py fullctl_poll_tasks --processes 4 --max-tasks-per-process 100
```

Or using the short-form parameter:

```sh
manage.py fullctl_poll_tasks -p 4 -t 100
```

This will cause each worker process to automatically exit after processing 100 tasks, and a new worker process will be spawned to replace it. If not specified or set to 0, worker processes will continue running indefinitely.


# Task tracking

In `CommandInterface` there is a function `before_run` that runs before the command is run

In the worker `Command` a separate thread is created to track the task processing to avoid blocking the main thread for the command worker

The function of this thread is to update the TaskHeartbeart while the task is running

This is done at intervals of the specified - env var `TASK_TRACK_INTERVAL_SECONDS`

The `timestamp` field in the `TaskHeartbeat` model is used to check if the task is still running and not dead.

This is always checked for all tasks when `/health` is visited
Empty file added eslint.config.js
Empty file.
Loading
Loading