iTwin / imodels-clients

Monorepo for iModels API clients
MIT License
6 stars 2 forks source link

Fix releaseAllLocks and queryAllLocks methods to read all pages #181

Closed robertas-kerpys closed 1 year ago

robertas-kerpys commented 1 year ago

releaseAllLocks - queries locks and sends release locks request in pages to release all existing locks for the given briefcase queryAllLocks - queries locks in pages until all are retrieved

This fix is addressing #180 issue.

This fix will need to be expanded in the future as currently the memory limit might be reached, but further improvement requires iModels API changes - either to have continuation token, or have asynchronous operation on the server side to release all locks.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.