• At first I thought it’s a problem from my side but then I checked your demo and it’s the same.

    update_messages_ajax_handler needs avarage 22 seconds to complete. until then it’s pedding in my devTools network tab.

    I found this while statement

    $startTime = time();
            while((time()-$startTime)<=20){

    Why do you use it? Is it this what causes this?
    What is a meaning behind it?

    event without this while it needs 2 seconds to complete.. at that’s the highest request duration for my site. even compered to whole loading process.

    thanks.

    http://wordpress.org/plugins/quick-chat/

The topic ‘Quick chat update_messages goes 20 seconds’ is closed to new replies.