Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry logic #1

Open
1 of 4 tasks
danasilver opened this issue Mar 24, 2016 · 1 comment
Open
1 of 4 tasks

Retry logic #1

danasilver opened this issue Mar 24, 2016 · 1 comment

Comments

@danasilver
Copy link
Member

Detect when a query fails and retry the search n times.

  • How do we determine if a query fails?
  • How many times should we retry by default?
  • How long should we wait between tries?
  • Should we report the number of tries?
@danasilver
Copy link
Member Author

How do we determine if a query fails?

A search with no results has this block, which is absent in a failed query:

<table class="tblResults" cellspacing="0" rules="all" border="1" id="ctl00_ctl00_PageContent_PageContent_middDirectoryForm_lstResults" width="100%">
    <tr class="ResultHeader" align="center" bgcolor="White">
        <td><b><a href="javascript:__doPostBack('ctl00$ctl00$PageContent$PageContent$middDirectoryForm$lstResults$ctl01$ctl00','')">Name</a></b></td><td><b><a href="javascript:__doPostBack('ctl00$ctl00$PageContent$PageContent$middDirectoryForm$lstResults$ctl01$ctl01','')">E-mail</a></b></td><td><b><a href="javascript:__doPostBack('ctl00$ctl00$PageContent$PageContent$middDirectoryForm$lstResults$ctl01$ctl02','')">Phone</a></b></td><td><b><a href="javascript:__doPostBack('ctl00$ctl00$PageContent$PageContent$middDirectoryForm$lstResults$ctl01$ctl03','')">Type</a></b></td><td><b><a href="javascript:__doPostBack('ctl00$ctl00$PageContent$PageContent$middDirectoryForm$lstResults$ctl01$ctl04','')">Dept / Commons</a></b></td>
    </tr>
</table>

The failed query has no element with a tblResults class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant