change how we calculate active jobs, probably will remove it from pa_job_engine, safer with threads I think. But, mostyle, added in client / server socket comms between web FE and job manager, with better job creation message (including link to job detail) and when you view job detail it auto-refreshes every few seconds until job complete)
This commit is contained in:
4
files.py
4
files.py
@@ -61,7 +61,7 @@ def files():
|
||||
def scannow():
|
||||
job=NewJob("scannow" )
|
||||
st.SetAlert("success")
|
||||
st.SetMessage("Created job to scan for new files")
|
||||
st.SetMessage("scanning for new files in: <a href=/job/{}>Job #{}</a> (Click the link to follow progress)".format( job.id, job.id) )
|
||||
return render_template("base.html")
|
||||
|
||||
################################################################################
|
||||
@@ -71,7 +71,7 @@ def scannow():
|
||||
def forcescan():
|
||||
job=NewJob("forcescan" )
|
||||
st.SetAlert("success")
|
||||
st.SetMessage("Created job to force scan & rebuild data for files")
|
||||
st.SetMessage("force scan & rebuild data for files in: <a href=/job/{}>Job #{}</a> (Click the link to follow progress)".format( job.id, job.id) )
|
||||
return render_template("base.html")
|
||||
|
||||
################################################################################
|
||||
|
||||
Reference in New Issue
Block a user