Swiftpack.co - vapor/queues as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
vapor/queues 1.6.0
A queue system for Vapor.
⭐️ 133
🕓 9 weeks ago
macOS
.package(url: "https://github.com/vapor/queues.git", from: "1.6.0")

Queues

Docs Team Chat MIT License Continuous Integration Swift 5.2

GitHub

link
Stars: 133
Last commit: 1 hour ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Dependencies

Release Notes

Allow delaying retires of failed job
9 weeks ago
This patch was authored by @kacperk and released by @jdmcd.

Added possibility of delaying retires of failed jobs.

Example usage

struct SomeJob: Job {
    func dequeue(_ context: QueueContext, _ payload: Payload) -> EventLoopFuture<Void> {
        ....
    }

    // Exponential backoff
    func nextRetryIn(attempt: Int) -> Int {
        return pow(2, attempt)
    }
}

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics