summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-09Update goridge to v3.2.0, update all frames operations.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-08-03In a rare cases, when user set small timeout to allocate a worker,Valery Piashchynski
spawned goroutine might stuck on the channel send operation and leak memory. Signed-off-by: Valery Piashchynski <[email protected]>
2021-08-02Update CI, move all tests to the single source of truth - makefileValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-08-01Rework vec based on the channel. Use select statement with the defaultValery Piashchynski
branch to handle dead workers inside the channel. Update docker-compose.yaml used for the tests. Update rabbitmq to 3.9.1. Replace third-party amqp091 with the official implementation. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-27Initial support for the cancellation via contextValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-24Mooore constants :)Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-24Remove unused toPtr conversionsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-24Remove unused codeValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-24Uniform push to pipelines in the durability testsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-24Beanstalk initial durability testValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Fix AMQP toxicValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23SQS initial durability testValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Add AMQP initial durability testValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Tests refactoringValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Use zap logger in AMQP tests instead of mocked (temporarly)Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23SQS configuration and tests updateValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23EventPipeRun -> EvenPipeActiveValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Remove time.Now() from beanstalk tube declarationValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Update beanstalk options. Fix tube priority (correctly pass to the PutValery Piashchynski
method). Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-23Remove completed TODOs from the beanstalk driver.Valery Piashchynski
Rename pipeline_size -> prefetch for the ephemeral driver. Limit number of active goroutines (delay's) to 1000. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update GA, codeconv bump to v2Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Initial tests for all driversValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22LintersValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Fix AMQP bugs, add more amqp testsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Benchmark tests commentsValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update Echo benchValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update static_pool_batched testValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Format-edValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Passing by ptr is slightly faster:Valery Piashchynski
Benchmark_Ptr Benchmark_Ptr-32 907456771 1.354 ns/op 0 B/op 0 allocs/op Benchmark_Value Benchmark_Value-32 791122101 1.366 ns/op 0 B/op 0 allocs/o In terms of OPS. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22BC for the Pool, worker interfaces, pass/return payload by pointerValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Add headers parsingValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update consumers, tests stabilizationValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Reduce tests timeoutValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-22Update beanstalk redial algo.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-21Fix AMQP context, add ID, job, other fields.Valery Piashchynski
Fix sqs queue re-creation. Complete redia for the beanstalk. Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-20Beanstalk driver alpha version ready.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-19Make beanstalk import not indirectValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-19Beanstalk initial commitValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-19Worker watcher interface update.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-18Remove channel from the QueueValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-18Started beanstalk driver. Add new Queue impl (not finished yet).Valery Piashchynski
Fix bugs in the AMQP, update proto-api Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-15Remove duplicated loggingValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Update SQS item.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Fix early returnValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14NPE when stopping RMQ channels.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Fix incorrect path in the CI. Implement FromPipeline for the sqs.Valery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Merge masterValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14Merge remote-tracking branch 'origin/master' into feature/jobs_pluginValery Piashchynski
# Conflicts: # pkg/worker_watcher/interface.go
2021-07-14Update CHANGELOGValery Piashchynski
Signed-off-by: Valery Piashchynski <[email protected]>
2021-07-14#749 bug(supervisor, ttl): worker gets into the inconsistent state after TTL ↵Valery Piashchynski
was reached #749 bug(supervisor, ttl): worker gets into the inconsistent state after TTL was reached