Replies: 2 comments
-
I believe the most time spend is waiting the API to return a response. I think async will be better in this case. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think that it would only help if a self-hosted version of the software would be made? #5 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would multithreading help? or is the bottleneck the Google API?
Maybe for the delete message function the work could be split into threads.
amountOfWorkPerCore = NumberOfcores/numberOfMessages (there could be a rounding error so the last thread may need to account for that)
loop through NumberOfcores
thead deleteMessage(give range to delete)
However i am not sure if the bottleneck is the Google API.
Anyway just some brainstorming
Beta Was this translation helpful? Give feedback.
All reactions