Skip to content
  • VERDIN David's avatar
    When changing a list's admin two times in the same second, the list admins... · 3f39f564
    VERDIN David authored
    When changing a list's admin two times in the same second, the list admins cache is not updated. Consequently, when trying to add a third admin in the same second, the second one is not in the cache at the time.
    Obviously it does not sound like a recurrent scenario and I met this problem when running a test file only.
    However, it is possible that this happens more often when trying to make batch modifications in the shell. And also, it made my test fail which is an engineering problem: it could be misguiding about the cause of a test failure.
    So I changed the expiration test, replacing "<" by "<=" and it solves the problem.
    I don't see any side problem that could result from this change bu I commit it separately anyway because the cache is very sensitive.
    3f39f564