Browse Source

minor

message_send
chrislu 2 years ago
parent
commit
264c138c1d
  1. 6
      weed/mq/messages/message_buffer_mover.go

6
weed/mq/messages/message_buffer_mover.go

@ -17,13 +17,13 @@ var _ = MessageBufferMover(&EmptyMover{})
type EmptyMover struct { type EmptyMover struct {
} }
func (e EmptyMover) Setup() {
func (e *EmptyMover) Setup() {
} }
func (e EmptyMover) TearDown() {
func (e *EmptyMover) TearDown() {
} }
func (e EmptyMover) MoveBuffer(buffer *MessageBuffer) (MessageBufferReference, error) {
func (e *EmptyMover) MoveBuffer(buffer *MessageBuffer) (MessageBufferReference, error) {
println("moving", buffer.sequenceBase) println("moving", buffer.sequenceBase)
return MessageBufferReference{ return MessageBufferReference{
sequence: buffer.sequenceBase, sequence: buffer.sequenceBase,

Loading…
Cancel
Save