console
console copied to clipboard
Make rest timeout configurable
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
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.
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.