Git Product home page Git Product logo

artifex's People

Contributors

mborders avatar prnyself avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

artifex's Issues

Throttling

Awesome library, pretty much exactly what I was looking for! There is one feature I'd still like to have, though.

I'd like to have the ability to create throttled dispatchers, that is, dispatchers which run no more than X jobs per time (e.g. 5 per minute), regardless of which rate new jobs are created at.

This could be helpful when sending out large amounts of e-mails, for example. Say, I want to send an e-mail to each of 1,000 users every Friday night, but don't want to send them all at once, but over a period of 30 minutes, to relieve the mail server a bit.

Semver tag

Hi,

looks like a very useful module.
I tried to pull the latest version but it failed.

go get -v -u github.com/mborders/[email protected]
go get github.com/mborders/[email protected]: no matching versions for query "v0.4"

My understanding is that go.mod expects a semver tag and v0.4 doesn't have the patch version. I would assume that tagging v0.4.0 would work without having to change anything.

For now I can only get v0.3.1 which incidentally follows semver.

Module path should be "github.com/mborders/artifex", not "github.com/borderstech/artifex"

Background

Module path is inconsistent with go import path.
GO111MODULE=on, as doc said, import "github.com/mborders/artifex", then get this error:

go: finding module for package github.com/mborders/artifex
go: downloading github.com/mborders/artifex v0.0.0-20191113201913-8ea03c710bd4
go: found github.com/mborders/artifex in github.com/mborders/artifex v0.0.0-20191113201913-8ea03c710bd4
go: test1 imports
        github.com/mborders/artifex: github.com/mborders/[email protected]: parsing go.mod:
        module declares its path as: github.com/borderstech/artifex
                but was required as: github.com/mborders/artifex 

Solution

Fix the module path:

  1. Rename the module path to "github.com/mborders/artifex": https://github.com/mborders/artifex/blob/master/go.mod#L1
module github.com/mborders/artifex
require (
	…
) 
  1. Change the doc document to use import "github.com/borderstech/artifex".

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.