Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • v1.23.2
  • v1.23.1
  • v1.23.0
  • v1.22.0
  • v1.21.1
  • v1.21.0
  • v1.20.3
  • v1.20.2
  • v1.20.1
  • v1.20.0
  • v1.19.4
  • v1.19.3
  • v1.19.2
  • v1.19.1
  • v1.19.0
  • v1.18.2
  • v1.18.1
  • v1.18.0
  • v1.17.0
  • v1.16.1
21 results

config.go

Blame
  • config.go 425 B
    // Copyright 2023 schukai GmbH
    // SPDX-License-Identifier: AGPL-3.0
    
    package jobqueue
    
    var globalTableNamePrefix = "job_queue_"
    
    // SetTableNamePrefix sets the global table name prefix
    // This is useful for when you want to use the same database for multiple applications
    // and you want to avoid name collisions
    // The default value is "job_queue_"
    func SetTableNamePrefix(prefix string) {
    	globalTableNamePrefix = prefix
    }