Skip to content

Commit

Permalink
Merge pull request #699 from Kilowhisky/fix/698_2
Browse files Browse the repository at this point in the history
Add auth to allowed commands while data is loading
  • Loading branch information
tidwall authored Jul 31, 2023
2 parents f3c2cca + dbaa9c1 commit c1ca106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,7 @@ func (s *Server) handleInputCommand(client *Client, msg *Message) error {

if !s.loadedAndReady.Load() {
switch msg.Command() {
case "output", "ping", "echo":
case "output", "ping", "echo", "auth":
default:
return writeErr("LOADING Tile38 is loading the dataset in memory")
}
Expand Down

0 comments on commit c1ca106

Please sign in to comment.