Ticket #258 (closed defect: fixed)

Opened 9 months ago

Last modified 4 months ago

new upload-control needs heartbeat

Reported by: mpo Owned by: mpo
Priority: major Milestone: 0.4
Component: < Upload Control Version: trunk
Keywords: Cc:

Description

The new upload-service will automatically remove untouched files after some time (default refresh-time is 5 minutes)

While being ok for a lot of use cases probably this isn't a really nice solution in the long run.

Provisioning (i.e. empty methods called at the correct times) is foreseen to implement a heartbeat mechanism that will ensure the client/control keeps the data touched while the uploaded-file is sent over but the form is not yet submitted / handled finally.

Additionally there could be a natural setting for the file-upload-store to just survive not having any lease-service set (by just not expiring the received files) - in sync with the previous kauri-upload module (after which that module should be removed)

There are a number of work around's today:

  • use that older kauri-upload service again
  • increase the refreshtime in the lease-service conf/kauri-tmprsrc/upload.xml

Attachments

Change History

Changed 9 months ago by mpo

Just realized the URL to call for the update is the one the returns the getInfo() from the file-upload-store

It looks like this: /kauri/upload/{key}/info.json strictly speaking a HEAD call on this will be enough

In the upload.js I'ld suggest creating an infoRef(key) function similar to the current dataRef(key)

Changed 7 months ago by jgou

  • component changed from -- unknown -- to < Upload Control

Changed 5 months ago by freya

done in r1492

Changed 4 months ago by freya

  • status changed from new to closed
  • resolution set to fixed

Add/Change #258 (new upload-control needs heartbeat)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.