Skip to content
Snippets Groups Projects
Select Git revision
  • 3a97d95f9d70f89b90740883f7aca86cfa2f25b2
  • master default protected
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
  • 1.2.0
  • v1.1.0
8 results

main.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
    }