Question:
In particular, can multiple threads use the sameGMail
service instance?Answer:
Nope. Gmail implementation is not thread-safe.
Therefore, if you are running as a multi-threaded application, each thread that you are making requests from must have its own instance ofhttplib2.Http()
.
Resource Link: gmail api service
Original Link: Is Java GMail API thread-safe?
No comments:
Post a Comment