• Welcome to SQLitening Support Forum.
 

News:

Welcome to the SQLitening support forums!

Main Menu

Typo in Thread Function ImHereThead?

Started by G, September 22, 2011, 04:36:52 AM

Previous topic - Next topic

G

it is my understanding that the function should send the ImHere message every 20 seconds. it looks to me that this happens every 2 seconds with "if timer - @lhpLastMessageTime > 2 then" ?

G

Fred Meier

Good Catch!!!   How did you find this?

The code in SQLiteningClient is

      sleep 2000    ' sleep 20 seconds
      if timer - @lhpLastMessageTime > 2 then

and it should be

      sleep 20000    ' sleep 20 seconds
      if timer - @lhpLastMessageTime > 2 * 60 then

I had the value set low for testing and forgot to set them back.  It works OK with the low values but it wastes time sending too many ImHere messages.

A new version is at http://www.sqlitening.com/support/index.php?topic=3384.msg17350#msg17350


G

Fred, i also fighting the -18 error and have to look deeper into the code to understand this problem.
with vers. 1.5x I get this error on connect almost every time...

Thank you for your very quick solution.

G