Reduce calls for presence detection

Last post 11-23-2010, 10:26 PM by cutechat. 3 replies.
Sort Posts: Previous Next
  •  11-16-2010, 11:19 AM 65039

    Reduce calls for presence detection

    Hello,
         My company has integrated Cute Chat into our commercial site and we're now looking at general performance issues.  One idea that has come up is we can reduce calls to the cute chat datbase if we reduce how often cutechat detects presence.  It seems to make calls about every 10 seconds for each user.  Is there a way to change that time span?
    Thanks!
  •  11-16-2010, 12:35 PM 65045 in reply to 65039

    Re: Reduce calls for presence detection

    Dear rgettel,
     
    Please open "CuteSoft_Client\CuteChat\LoadSettings.aspx" and change 
     
    var Chat_Sync_Timeout=200;//sync 5 times per second.
     
    to:
     
    var Chat_Sync_Timeout=2000;//sync 1 time per two seconds.
     
    Thank you for asking
  •  11-23-2010, 4:10 PM 65127 in reply to 65045

    Re: Reduce calls for presence detection

    Are there limits how high and low to set that value?  My boss asked me to set it to once every 2 minutes which produced lost connection with the server errors.
  •  11-23-2010, 10:26 PM 65148 in reply to 65127

    Re: Reduce calls for presence detection

    Hi,
     
    I suggest do not set to more than 10 seconds.
     
    Otherwise the messages between users will get too long delayed.
     
    Regards,
    Terry
View as RSS news feed in XML