ome / omero-metadata

OMERO plugin for metadata manipulation https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 13 forks source link

Close callbacks #54

Closed joshmoore closed 3 years ago

joshmoore commented 3 years ago

If an error is thrown during submit() and closehandle is true, then the callback is automatically closed. If not, then the caller is required to call cb.close(True) which will remove the callback servant. If this is not done, then the following type of error will be thrown on map annotation deletion:

    serverExceptionClass = "ome.conditions.OverUsageException"
    message = "servantsPerSession reached for 36cb8357-997a-46ff-b421-5b08d97cd3fc: 10000"
joshmoore commented 3 years ago

Works me. I'll tackle tomorrow AM if you don't beat me to it.