Skip to content

Commit

Permalink
fix OIDCCacheShmMax min/max settings; see #1260; thanks @bbartke
Browse files Browse the repository at this point in the history
bump to 2.4.16.3dev

Signed-off-by: Hans Zandbelt <hans.zandbelt@openidc.com>
  • Loading branch information
zandbelt committed Sep 5, 2024
1 parent cafadb0 commit 299cd15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
09/05/2024
- fix OIDCCacheShmMax min/max settings; see #1260; thanks @bbartke

08/30/2024
- release 2.4.16.2

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([mod_auth_openidc],[2.4.16.2],[hans.zandbelt@openidc.com])
AC_INIT([mod_auth_openidc],[2.4.16.3dev],[hans.zandbelt@openidc.com])

AC_SUBST(NAMEVER, AC_PACKAGE_TARNAME()-AC_PACKAGE_VERSION())

Expand Down
4 changes: 2 additions & 2 deletions src/cfg/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ OIDC_CFG_MEMBER_FUNCS_CACHE_BOOL(encrypt, cfg->cache.impl->encrypt_by_default)
*/

/* minimum shm cache size i.e. minimum number of entries */
#define OIDC_CACHE_SHM_SIZE_MAX 128
#define OIDC_CACHE_SHM_SIZE_MIN 128
/* maximum shm cache size i.e. maximum number of entries */
#define OIDC_CACHE_SHM_SIZE_MIN 1024 * 1024 * 1024
#define OIDC_CACHE_SHM_SIZE_MAX 1024 * 1024 * 1024
/* default shm cache size i.e. the number of pre-allocated entries in the shm cache */
#define OIDC_DEFAULT_CACHE_SHM_SIZE 10000

Expand Down

0 comments on commit 299cd15

Please sign in to comment.