Browse Source

Merge pull request #11579 from keynslug/fix/otp-24-compat

fix(router): use `ets:new/2` options compatible with OTP 24
Andrew Mayorov 2 years ago
parent
commit
19abb7c99e
1 changed files with 2 additions and 1 deletions
  1. 2 1
      apps/emqx/src/emqx_router.erl

+ 2 - 1
apps/emqx/src/emqx_router.erl

@@ -117,7 +117,8 @@ mnesia(boot) ->
         {storage_properties, [
             {ets, [
                 {read_concurrency, true},
-                {write_concurrency, auto}
+                {write_concurrency, true},
+                {decentralized_counters, true}
             ]}
         ]}
     ]).