8
edits
m (→Asynchronous) |
m (→Synchronous) |
||
| Line 80: | Line 80: | ||
#* If the witness file's timestamp is newer than the RRA, exit; | #* If the witness file's timestamp is newer than the RRA, exit; | ||
#* If the witness file's timestamp is older than the RRA, the AGRP generates new graphs based on the RRA and then touches<sup>3</sup> the witness file; | #* If the witness file's timestamp is older than the RRA, the AGRP generates new graphs based on the RRA and then touches<sup>3</sup> the witness file; | ||
# The script at (1) proceeds, serving the graph images, as available on the storage | # The script at (1) proceeds, serving the graph images, as available on the storage device. | ||
:<small><sup>1</sup>: "Blocking" in that subsequent code is not executed until the external script is finished.</small> | :<small><sup>1</sup>: "Blocking" in that subsequent code is not executed until the external script is finished.</small> | ||
:<small><sup>2</sup>: Future developments may change the currently proposed set of graphs, and/or the order in which they are generated — therefore it's good practice to avoid checking against the timestamp of a particular graph file; an independent witness file can be guaranteed to be available and have a meaningful timestamp regardless of any graphs being generated, or their order.</small> | :<small><sup>2</sup>: Future developments may change the currently proposed set of graphs, and/or the order in which they are generated — therefore it's good practice to avoid checking against the timestamp of a particular graph file; an independent witness file can be guaranteed to be available and have a meaningful timestamp regardless of any graphs being generated, or their order.</small> | ||
edits