Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ACL caching #233
Currently I wait until I get the next block and only then do I assume that I've gotten all the events for the previous.
I did a few tests to see where the lag originates.
While this PR reduces the processing time by about 100ms (This is of course a correlate of the number of events which it bound to grow over time for active DAOs).
My suggestion moving forward would be to investigate whether it makes sense to let the cached permissions flow out of the function before waiting for the first events to arrive.