superfell / SoqlX

SoqlXplorer is an awesome tool for developers using the Salesforce.com platform.
https://pocketsoap.com/osx/soqlx/
Other
273 stars 54 forks source link

background describes should eventually give up. #81

Closed superfell closed 5 years ago

superfell commented 5 years ago

If the SFDC server returns an error to a describeSObjects call, the background describer will keep calling describeSObjects until it gets a valid result. In the event of a bug on the SFDC side that causes the describeSObjects call to constantly fail, this will just sit in a loop consuming API requests for ever.

see https://github.com/superfell/SoqlX/blob/master/AppExplorer/DataSources.m#L208

This should give up after some point, and somehow flag this to the user.