Return the session id directly #3

Merged
krisbreuker merged 1 commits from newapi into newapi 2019-04-27 19:26:46 +00:00
krisbreuker commented 2019-04-26 14:41:43 +00:00 (Migrated from github.com)

If searchFederated is called twice quickly, the 'start' events for both searches may arrive out of order, so you still can't know which events belong to the last call to searchFederated. By returning the session id directly from searchFederated, we can ignore incoming events having a different (old) session id.

If searchFederated is called twice quickly, the 'start' events for both searches may arrive out of order, so you still can't know which events belong to the last call to searchFederated. By returning the session id directly from searchFederated, we can ignore incoming events having a different (old) session id.
djoerd commented 2019-04-27 19:25:08 +00:00 (Migrated from github.com)

You're right, and this is an elegant solution. Thanks. I will merge this.

You're right, and this is an elegant solution. Thanks. I will merge this.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: searsia/searsiaclient#3
There is no content yet.