Skip to content

Commit

Permalink
defaults for pubkey expire (#3773)
Browse files Browse the repository at this point in the history
* set 10 as default pub key expiry

* add fog-view-load-test to toolbox container
  • Loading branch information
jgreat authored Dec 6, 2023
1 parent 2196ae0 commit 0a600d1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mobilecoin-dev-cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ jobs:
-p mc-fog-report-server \
-p mc-fog-sql-recovery-db \
-p mc-fog-test-client \
-p mc-fog-view-load-test \
-p mc-fog-view-server \
-p mc-ledger-distribution \
-p mc-ledger-from-archive \
Expand Down
1 change: 1 addition & 0 deletions .internal-ci/docker/Dockerfile.bootstrap-tools
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ COPY ${RUST_BIN_PATH}/mc-util-seeded-ed25519-key-gen /usr/local/bin/
COPY ${RUST_BIN_PATH}/fog-report-cli /usr/local/bin/
COPY ${RUST_BIN_PATH}/read-pubfile /usr/local/bin/
COPY ${RUST_BIN_PATH}/mc-util-grpc-token-generator /usr/local/bin/
COPY ${RUST_BIN_PATH}/fog-view-load-test /usr/local/bin/

# Test wrappers and util scripts
COPY .internal-ci/test/ /test/
Expand Down
2 changes: 0 additions & 2 deletions .internal-ci/helm/fog-ingest/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ fogIngest:
POSTGRES_MAX_LIFETIME: '120'
POSTGRES_CONNECTION_TIMEOUT: '5'
POSTGRES_MAX_CONNECTIONS: '3'
FOG_PUBKEY_EXPIRY_WINDOW: '10'


externalConfigMaps:
# sentry is optional
Expand Down
2 changes: 1 addition & 1 deletion fog/ingest/server/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ pub struct IngestConfig {

/// The amount we add to current block height to compute pubkey_expiry in
/// reports
#[clap(long, default_value = "100", env = "MC_PUBKEY_EXPIRY_WINDOW")]
#[clap(long, default_value = "10", env = "MC_PUBKEY_EXPIRY_WINDOW")]
pub pubkey_expiry_window: u64,

/// How often the active server checks up on each of the peer backups
Expand Down

0 comments on commit 0a600d1

Please sign in to comment.