tegola icon indicating copy to clipboard operation
tegola copied to clipboard

Possibility to update config without restart?

Open enersis-pst opened this issue 1 year ago • 2 comments

Hello, is there a way to add, remove or change sources on a running service without restarting it?

enersis-pst avatar Dec 06 '24 18:12 enersis-pst

Passing a user signal would be awesome. Webservers commonly do this. Or a --watch type flag to auto reload and clear the cache?

four43 avatar Dec 20 '24 19:12 four43

@enersis-pst / @four43 this has been discussed a few times, but an elegant solution has not yet been implemented. The community wants this support, but it's hard to account for all the various situations so the effort has atrophied a few times.

Here are a few references on the topic if you're interested:

  • https://github.com/go-spatial/tegola/pull/948
  • https://github.com/go-spatial/tegola/issues/944
  • https://github.com/go-spatial/tegola/issues/57
  • https://github.com/go-spatial/tegola/issues/58

I'm not opposed to this idea but it does seem that it should be implemented with "experimental support" so the API could change as we learn about more use cases.

ARolek avatar Dec 26 '24 19:12 ARolek