External Authorization Request Cache

Hello! I was trying to set up an external authorization service in our new GitLab instance, a CE 12.0.3 running from the GitLab Helm Chart (v2.0.3), following this guide: External authorization control | GitLab

For some reason, any kind of request that I try to execute (except for the first for each user) ends up being blocked before even reaching the service itself, a python backend listening for webhooks. I believe that it happens because of this part of the guide: “In any case, the request is cached for 6 hours”.

My question is: is there a way to change that 6 hour interval? Or even removing the request cache at all? It’s a big headache for testing, and it will probably be when it goes on to production as well…

Apparently, the value is fixed at lib/gitlab/external_authorization/cache.rb · master · GitLab.org / GitLab FOSS · GitLab , but if there’s any way to change or bypass it, it would be great.