Skip to content

Commit

Permalink
allow user to customise mlat-client startup stagger delay
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Mar 14, 2024
1 parent 9221009 commit 6f6587f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ The following parameters must be set (mandatory) for the container to function:
| `READSB_EXTRA_ARGS` | Optional, allows to specify extra parameters for readsb | | Unset |
| `S6_SERVICES_GRACETIME` | Optional, set to 30000 when saving traces / globe_history | | `3000` |
| `LOGLEVEL` | `verbose` (all messages), `error` (errors only), `none` (minimal) | | `verbose` |
| `MLAT_STARTUP_STAGGER` | mlat-client startup staggering for tidy logs (reduce for quicker startup) | | `15` |

`READSB_EXTRA_ARGS` just passes arguments to the commandline, you can check this file for more options for wiedehopf's readsb fork: <https://github.com/wiedehopf/readsb/blob/dev/help.h>

Expand Down
2 changes: 1 addition & 1 deletion rootfs/etc/s6-overlay/scripts/mlat-client
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ do


# stagger by 15 second so they don't all start at the same time
sleep 15 & wait $!
sleep "${MLAT_STARTUP_STAGGER:-15}" & wait $!

# ------------------------------------------------
# run this Mlat_client instance in the background:
Expand Down

0 comments on commit 6f6587f

Please sign in to comment.