mirror of https://github.com/tidwall/tile38.git
Merge pull request #699 from Kilowhisky/fix/698_2
Add auth to allowed commands while data is loading
This commit is contained in:
commit
c1ca106706
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue