Coder Social home page Coder Social logo

Running jobs get deleted about hashview HOT 7 CLOSED

vanjobanjo avatar vanjobanjo commented on June 9, 2024
Running jobs get deleted

from hashview.

Comments (7)

i128 avatar i128 commented on June 9, 2024

To confirm, when you're reproducing the error, on step 4, are you refreshing the homepage, or the jobs page?

from hashview.

vanjobanjo avatar vanjobanjo commented on June 9, 2024

First of all, thanks for the super quick reply!

Here's what I did:

  1. refreshed the homepage → running jobs were gone
  2. went to the jobs page → all jobs were gone

In my original message I said that the job I created but didn't start wasn't deleted. I just checked again and now it is gone as well.

from hashview.

i128 avatar i128 commented on June 9, 2024

What value do you have for your data retention. you can find this under settings, or in the database. select * from settings;

from hashview.

vanjobanjo avatar vanjobanjo commented on June 9, 2024

The data retention value is 0:

+----+------------------+
| id | retention_period |
+----+------------------+
|  1 |                0 |
+----+------------------+

from hashview.

i128 avatar i128 commented on June 9, 2024

Ah, i think thats the issue. The data retention thread, reads that value in the db. Checks the current date vs date of when the job was created and if the difference is greater than the retention period, will delete the job.

Set the data retention period value to something between 1 and 65535.

I thought i had put in an exception so that if the user set it to 0 it would disable retention, but i dont see that being the case.

That said im 99% sure thats the issue.

from hashview.

vanjobanjo avatar vanjobanjo commented on June 9, 2024

Thanks, we'll try that. Though we've always had retention to 0 and it's never been an issue 🤔

from hashview.

vanjobanjo avatar vanjobanjo commented on June 9, 2024

Setting the retention period to a higher value fixed it, thanks!

from hashview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.