Skip to content

Commit

Permalink
Erase logic for test
Browse files Browse the repository at this point in the history
  • Loading branch information
raararaara committed Jun 7, 2024
1 parent 1055529 commit 49081a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pkg/document/internal_document.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ package document

import (
"errors"
"fmt"
gosync "sync"

"github.com/yorkie-team/yorkie/api/converter"
Expand Down Expand Up @@ -254,10 +253,7 @@ func (d *InternalDocument) applySnapshot(snapshot []byte, serverSeq int64) error
// ApplyChanges applies remote changes to the document.
func (d *InternalDocument) ApplyChanges(changes ...*change.Change) ([]DocEvent, error) {
var events []DocEvent
for i, c := range changes {
if i == 158 {
fmt.Println("do sth")
}
for _, c := range changes {
if c.PresenceChange() != nil {
clientID := c.ID().ActorID().String()
if _, ok := d.onlineClients.Load(clientID); ok {
Expand Down

0 comments on commit 49081a0

Please sign in to comment.