File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,17 +27,21 @@ services:
2727 - " 3000:3000"
2828 # Tracy
2929 - " 8086:8086"
30- entrypoint :
31- cargo watch -i flamegraphs -i log.conf --why -C crates/standalone -x 'run
32- start --data-dir=/stdb/data
33- --jwt-pub-key-path=/etc/spacetimedb/id_ecdsa.pub
34- --jwt-priv-key-path=/etc/spacetimedb/id_ecdsa'
30+ entrypoint : cargo watch -i flamegraphs -i log.conf --why -C crates/standalone -x 'run start --data-dir=/stdb/data --jwt-pub-key-path=/etc/spacetimedb/id_ecdsa.pub --jwt-priv-key-path=/etc/spacetimedb/id_ecdsa'
3531 healthcheck :
3632 test : curl -f http://localhost/ping || exit 1
3733 privileged : true
3834 environment :
3935 SPACETIMEDB_FLAMEGRAPH_PATH : ../../../../flamegraphs/flamegraph.folded
4036 SPACETIMEDB_TRACY : 1
37+ # Tracy utilizes the Time Stamp Counter (TSC) in CPUs for high-resolution timing.
38+ # The invariant TSC is a feature that ensures the TSC runs at a constant rate,
39+ # regardless of power-saving modes or frequency changes.
40+ #
41+ # This flag will instruct Tracy to proceed without verifying the presence of an invariant TSC.
42+ # If the CPU lacks this feature, Tracy cannot guarantee accurate timing.
43+ # So use this approach with caution, as it may affect profiling accuracy.
44+ # TRACY_NO_INVARIANT_CHECK: 1
4145 RUST_BACKTRACE : 1
4246 ENV : dev
4347 networks :
You can’t perform that action at this time.
0 commit comments