Closed nancyhawa closed 9 years ago
@nancyhawa I've had the same issue. It seems to have broken since the previous released version (0.4.2). Can you possibly investigate the difference between 0.5.x and 0.4.2, and see if 0.4.2 has better performance?
(Try using ActiveSupport's Benchmark.measure { }
function)
+1
@nancyhawa I like @asiniy's approach in PR #195 which implements a Gmail server query instead of your client-side select{ } call, we should do it the server-side way to fix the archive method.
@johnnyshields so maybe you'll close this pr?
I added a method to locate a message by message_id outside of the inbox so that the archive method will work if the user is working within their inbox.
Right now it is slow - I added a comment with a piece of code that I think should have made it faster but which I could not get to work, possibly because of a separate bug.
--Nancy