WIP state-machine based replication

This commit is contained in:
Christian Schwarz
2018-08-11 12:19:10 +02:00
parent c1f3076eb3
commit 7303d91abf
17 changed files with 716 additions and 491 deletions
+3 -1
View File
@@ -146,7 +146,9 @@ func (j *SourceJob) Pruner(task *Task, side PrunePolicySide, dryRun bool) (p Pru
func (j *SourceJob) serve(ctx context.Context, task *Task) {
listener, err := j.Serve.Listen()
//listener, err := j.Serve.Listen()
listener, err := net.Listen("tcp", ":8888")
if err != nil {
task.Log().WithError(err).Error("error listening")
return