Homec4science

BibRank: temporary file storage in CFG_TMPDIR

Authored by Jerome Caffaro <jerome.caffaro@cern.ch> on Sep 25 2013, 07:24.

Description

BibRank: temporary file storage in CFG_TMPDIR

  • Stores temporary data files used for plotting in CFG_TMPDIR instead of CFG_WEBDIR. Adds explicit 'bibrank_grapher_' prefix. This is not helping, but nor worsening the creation and servicing of graphs in load-balanced setups.
  • Temporary directory set using 'dir' parameter instead of 'tempfile.tempdir'. (addresses #1594)
  • Makes use of safer tempfile.mkstemp (instead of tempfile.mktemp).

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Nov 27 2013, 17:38
Parents
R3600:229114923a64: Invenio v0.99.8
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:074f06c407ab: BibRank: temporary file storage in CFG_TMPDIR (authored by Jerome Caffaro <jerome.caffaro@cern.ch>).Nov 27 2013, 17:38