Giter VIP home page Giter VIP logo

gocraft-work-adapter's Introduction

Buffalo Documentation

gobuffalo.io

This is the repository for https://www.gobuffalo.io, the official website of the Buffalo ecosystem.

This documentation contains:

Contributing

Contributing to this documentation site is a great, and easy, way to help make Buffalo better!

Note that this repository is only about Buffalo ecosystem documentation. If you want to contribute to the ecosystem itself, please refer to the concerned repository:

See the contribution guide for more info about how to contribute.

gocraft-work-adapter's People

Contributors

markbates avatar michalpristas avatar stanislas-m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gocraft-work-adapter's Issues

Add support for periodic jobs

This adapter currently supports only on-demand jobs.

Scheduled jobs would open buffalo up to a new set of use cases.

I'm keeping this issue and PR to a minimum to invite commentary and critique.

Tests don't pass

I'm sorry to open an issue for this, but I'm not really sure what's going on.... I've been playing with it a bit and can't get the tests to succeed beyond the first test. Running one test at a time does work. I'm trying to open a PR but cannot get the tests working.

➜  gocraft-work-adapter git:(master) ✗ go test -v .
start q
=== RUN   Test_Perform
time="2018-09-28T20:40:34-04:00" level=info msg="Starting gocraft/work Worker"
time="2018-09-28T20:40:34-04:00" level=info msg="Enqueuing job {\"Queue\":\"\",\"Args\":null,\"Handler\":\"perform\"}\n"
--- PASS: Test_Perform (0.01s)
=== RUN   Test_PerformAt
time="2018-09-28T20:40:34-04:00" level=info msg="Enqueuing job {\"Queue\":\"\",\"Args\":null,\"Handler\":\"perform_at\"}\n"
ERROR: worker.fetch - ERR Number of keys can't be greater than number of args
ERROR: requeuer.process.dead - no job name
2018/09/28 20:40:39 context deadline exceeded
time="2018-09-28T20:40:39-04:00" level=info msg="Stopping gocraft/work Worker"
FAIL	github.com/fishnix/gocraft-work-adapter	5.037s
➜  gocraft-work-adapter git:(master) ✗ echo $REDIS_PORT
127.0.0.1:16379

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.