Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

->getMessages($limit) is SLOW if $limit > 5

Open rashandzamshut opened this issue 11 years ago • 0 comments

The following code takes ages to run and it crashes my server: $messages = $server->getMessages(100);

Looks like it loads all the possible details about every message, but how am I supposed to display a listing (load only message's subject) with, lets say, 50 newest messages FAST (so that user does not notice it). In source I cannot find a function that loads only the subject of messages. I dont need the content at that moment..

rashandzamshut avatar Feb 03 '15 15:02 rashandzamshut