Skip to content

Commit

Permalink
fix beb9f0b and assign _oidc_metrics_shm_size
Browse files Browse the repository at this point in the history
Signed-off-by: Hans Zandbelt <[email protected]>
  • Loading branch information
zandbelt committed Dec 16, 2024
1 parent 9e91469 commit ef58a94
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/metrics.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,8 @@ static inline apr_size_t oidc_metrics_shm_size(server_rec *s) {
oidc_serror(s, "environment value %s out of bounds, fallback to default",
OIDC_METRICS_CACHE_JSON_MAX_ENV_VAR);
_oidc_metrics_shm_size = OIDC_METRICS_CACHE_JSON_MAX_DEFAULT;
} else {
_oidc_metrics_shm_size = n;
}
}
return _oidc_metrics_shm_size;
Expand Down

0 comments on commit ef58a94

Please sign in to comment.