Skip to content

[Bug]: Jobs table gets dropped in when running in memory mode in a long running server #44

@IgnisDa

Description

@IgnisDa

What happened?

I have this code in my startup:

    let mut store = SharedSqliteStorage::new(":memory:");
    SqliteStorage::setup(store.pool()).await?;

After some time (around 30 hours) in my experience, I start getting this the above error (in the title). I was not able to screenshot it unfortunately.

Expected behavior

Jobs to run fine.

Steps to reproduce

Just the normal setup.

Minimal code example

Version

1.0.0-rc.x

Environment

  • OS: Mac
  • Rust version: 1.90
  • Cargo version: 1.90

Relevant log output

Additional context

Please let me know what logs I can give to help you debug this issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions