Pete Zaitcev (zaitcev) wrote,
Pete Zaitcev

+1, Amusing

Saw an odd code in a Swift's daemon today:

    for path, device, partition in all_locs:
        if time.time() - reported >= 3600:  # once an hour
  'Since %(time)s: Account audits: ' ...)
            dump_recon_cache({'account_audits_since': reported, ...})

It was so obvious that I pinged the code author. Surely he meant something profound by it. Auditing has lots of side effects and may take a while, so... But actually, no.

Now I'm wondering how many reviewers saw this and thought that there might be a deeper meaning in there.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment