devicehive / devicehive-java-server

DeviceHive Java Server
http://www.devicehive.com
Apache License 2.0
371 stars 139 forks source link

Long polling doesn't work. #109

Closed Nikolay-Kha closed 9 years ago

Nikolay-Kha commented 9 years ago

Steps to reproduce:

  1. Start polling on device.
  2. Send a command to device. Save timestamp.
  3. Update command(put result) on server from device.
  4. Send next poll request with saved timestamp.
  5. The same command is received immediately instead of next polling iteration.

On screenshot below sample of this issue. As you can see timestamps on request and result are the same. pastedimage

demon-xxi commented 9 years ago

deployed to playground.devicehive.com