Skip to content

Commit

Permalink
locking is now done in process messages
Browse files Browse the repository at this point in the history
  • Loading branch information
corylanou committed Feb 22, 2015
1 parent c575ee9 commit d35e2a9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -1522,8 +1522,6 @@ func (s *Server) applyDropSeries(m *messaging.Message) error {
var c dropSeriesCommand
mustUnmarshalJSON(m.Data, &c)

s.mu.Lock()
defer s.mu.Unlock()
database := s.databases[c.Database]
if database == nil {
return ErrDatabaseNotFound
Expand Down

0 comments on commit d35e2a9

Please sign in to comment.