console icon indicating copy to clipboard operation
console copied to clipboard

Make rest timeout configurable

Open kellydavid opened this issue 4 years ago • 2 comments

It would be great to make the REST timeout configurable. I have run into timeouts while making requests to a schema registry with a large number of schemas.

It currently seems to be hardcoded here: https://github.com/cloudhut/kowl/blob/5b135edb5f237f5600742514c001150fa93ac5fe/frontend/src/state/backendApi.ts#L19

kellydavid avatar Jan 08 '21 12:01 kellydavid

Sure should be easy to implement. The backend might have timeouts hardcoded as well, so whoever tackles this should double check the backend too.

I don't have experience with large schema registries but is it common it would take soo long to return a schema? I don't understand why it would take so long.

weeco avatar Jan 08 '21 14:01 weeco

FYI @kellydavid, the schema registry overview not loading was addressed in https://github.com/cloudhut/kowl/issues/178. You may want to try running the latest build from master to confirm that it now loads. Having configurable timeouts is probably still nice to have, but it's possible that the 25s isn't the issue here.

chrisjbremner avatar Feb 24 '21 18:02 chrisjbremner