Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Message Inbox: Retain Deleted messages longer (done)

by tye (Sage)
on Feb 05, 2014 at 05:46 UTC ( #1073514=note: print w/replies, xml ) Need Help??


in reply to Message Inbox: Retain Deleted messages longer

It is already several days. About 3, as I recall.

- tye        

  • Comment on Re: Message Inbox: Retain Deleted messages longer (done)

Replies are listed 'Best First'.
Re^2: Message Inbox: Retain Deleted messages longer (done)
by jdporter (Chancellor) on Feb 08, 2014 at 03:02 UTC

    Thanks for answering all my questions.

      ++jdporter for the sarcasm. And thanks for the prod that quite a while has passed but nothing else has happened on this thread.

      I quickly gave the one answer that I had handy at the time. After posting, it eventually occurred to me what some of the other answers likely were. But I wasn't where I could post when any of these potential answers finally came to me.

      And, of course, I'm not the only person who has knowledge of or access to the code in question. It was my hope that somebody else (maybe even jdporter) might find the motivation to find (or reveal) some of the answers. And I expected I'd have to not completely answer for quite a while if there was going to be a chance of somebody jumping in.

      But, as often happens, me volunteering to do some small thing leads to little credit for what I did and more blame for what I didn't volunteer to do. I doubt jdporter sent a personal message to Corion or demerphq or even chromatic "thank"ing them for not answering any of his question.

      Part of the reason I do so relatively little at PerlMonks now is, in part, due to trying to avoid that much more blame for what I don't manage to do (and other reasons). But I actually manage to still hang out here and rarely do some tiny bit of maintenance or administration, and I still get the lion's share of the blame (it seems to me). I don't mind getting blamed for doing something badly. But getting blamed for not doing enough simply because almost nobody else has stuck around as long or nobody else did anything on that topic... is discouraging. Oh well.

      There are people who do more maintenance/administration at PerlMonks than I do. I'll let them step forward if/when they decide they'd like to start getting blamed more. ;)

      One of the nightly cron jobs runs a query like:

      update message set folder = folder-1 where -3 < folder and folder < 0;

      and then deletes rows where folder has reached -3 (roughly).

      So I think it is actually between 2 and 3 days before a "deleted" message is irretrievable, depending on the time of day when it is "deleted".

      You can find -3 hard-coded quite a few places in the other bits of code that deal with "message folders". So we could lengthen the grace period by updating all of those (as well as, I think, just the one instance of "-3" in one cron job).

      - tye        

        Part of the reason I do so relatively little at PerlMonks now is, in part, due to trying to avoid that much more blame for what I don't manage to do

        Ever wonder if your bedside manner could share in the blame? You regularly come across as gruff with shortness in your answers, maybe a simple rephrasing would head off much of that blame? "It is already several days. About 3, as I recall. I don't have the rest of your answers at my fingertips, but poke me a in a few days if no one has expanded on this to see what I can pull up." That extra 30 seconds is all that's required.

        And if you are doing so little here, are you at least willing to cede a growing amount of power to others, especially those who may view the monastery differently than you do, to continue maintenance and perhaps growth in new directions? Because you do a lot here, but we don't want the site to die just because you run out of tuits. And no, I don't have any suggestions of who. I have some thoughts as to who not, but that's even less productive, so I will hold them to myself.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1073514]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2023-02-07 08:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (38 votes). Check out past polls.

    Notices?