Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 11ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login Register
n

nestjs

Recently created Least recently created Recently updated Least recently updated
arechta

arechta / @nestjs/bull (Bull v4)

Last active 5 months ago nestjs bull queue backend

Remove completed jobs older than 1 hour

0 0 1
1 // app.module.ts
2 import { BullModule } from '@nestjs/bull';
3
4 @Module({
5 imports: [
6 BullModule.forRoot({
7 redis: {
8 host: process.env.REDIS_HOST,
9 port: parseInt(process.env.REDIS_PORT),
10 password: process.env.REDIS_PASSWORD,