Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

tcpstream-postgres

An example that incorporates TcpStream, tokio::mpsc and apalis-postgres as a backend

Getting Started

docker run --name postgres-db -e POSTGRES_PASSWORD=mypassword postgres

Running

DATABASE_URL=postgresql://postgres:mypassword@localhost:5432/postgres cargo run

You can now push jobs

echo '{"id":1}' | nc 127.0.0.1 5000