I noticed the minimum inbound note duration is 1 mins, would there be any issue if send a hub.sync request every 5 seconds to force the notecard to sync
Hi @Pius4109,
You would be better served by putting the Notecard in continuous mode (see hub.set/mode) and using the "sync":true argument (again in hub.set) to automatically sync inbound Notes.
Rob
yeah, it is in continuous mode, but I want to sync inbound notes faster than one minute.
When using continuous mode along with "sync":true, the Notecard maintains an active connection with Notehub, so inbound Notes are delivered very quickly. Please try it out and let us know if it works fast enough for you!
It is fast enough. I was having an issue with my notecard; inbound notes weren’t getting to the Notecard. I have resolved the problem and it syncs almost immediately when I send an inbound note. Thanks @RobLauer