Skip to content

swelham/oban_insert_all_unique_timeout_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObanInsertAllUnique

Before following the setups below, be sure to install deps and run migrations.

To reproduce the timeout, open the application with iex.

iex -S mix phx.server

Next, run the function that enqueues the jobs.

iex> ObanInsertAllUnique.QueueJobs.enqueue()

Once this has run for a while, you will see the following error.

[error] Postgrex.Protocol (#PID<0.375.0>) disconnected: ** (DBConnection.ConnectionError) client #PID<0.538.0> timed out because it queued and checked out the connection for longer than 15000ms

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors