Add auth to allowed commands while data is loading

(cherry picked from commit 051605909e61bcc9251efaa350cb825436e06912)
This commit is contained in:
Chris Rice 2023-07-26 14:26:44 -07:00
parent d7a766c6d0
commit dbaa9c13a0
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ func (s *Server) handleInputCommand(client *Client, msg *Message) error {
if !s.loadedAndReady.Load() { if !s.loadedAndReady.Load() {
switch msg.Command() { switch msg.Command() {
case "output", "ping", "echo": case "output", "ping", "echo", "auth":
default: default:
return writeErr("LOADING Tile38 is loading the dataset in memory") return writeErr("LOADING Tile38 is loading the dataset in memory")
} }