stdevPavelmc / mailad

Software to provision a mail server with users from a Windows or Samba 4 Active Directory
GNU General Public License v3.0
33 stars 11 forks source link

[BUG] Small organizations have problems with auth when small number of users and data changed #107

Closed stdevPavelmc closed 3 years ago

stdevPavelmc commented 3 years ago

Describe the bug Scenario:

Investigation auth_cache_ttl = 1hour auth_cache_size = 1M (~200 bytes per user )

Thinking over this, we can lower the auth_cache_ttl to 10 minutes and rise the auth_cache_size, so we can cache more entries and it will timeout sooner... Ano other thoughts?

stdevPavelmc commented 3 years ago

Proposed fix is working, PR in the way

stdevPavelmc commented 3 years ago

Closed by #108