-
| It's my understanding that because  select pg_advisory_lock(MY_APP_LOCK_ID) | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            porsager
          
      
      
        Jun 1, 2022 
      
    
    Replies: 1 comment 3 replies
-
| Yes, you should be able to do that by creating a single connection instance like this: const sql = postgres({ max: 1 })Would that be good enough? | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
      Answer selected by
        porsager
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Yes, you should be able to do that by creating a single connection instance like this:
Would that be good enough?