[dokuwiki] Re: New event proposition
- From: "Jerry Schwartz" <jschwartz@xxxxxxxxxxxxxxxx>
- To: <dokuwiki@xxxxxxxxxxxxx>
- Date: Fri, 26 Sep 2008 14:13:11 -0400
>-----Original Message-----
>From: dokuwiki-bounce@xxxxxxxxxxxxx [mailto:dokuwiki-
>bounce@xxxxxxxxxxxxx] On Behalf Of Andreas Gohr
>Sent: Friday, September 26, 2008 11:34 AM
>To: dokuwiki@xxxxxxxxxxxxx
>Subject: [dokuwiki] Re: New event proposition
>
>>>However for quota checking, I'd say you only need to check on upload.
>>>
>> [JS] Checking on upload would prevent exceeding the quota, but you
>need to
>> decrement on deletion if you want to get a current report.
>
>I wouldn't track the quota usage, but instead compare the current size
>of the upload directory with the set quota, otherwise you have more
>work when an admin deletes a file for a user. You would have to adjust
>the tracked quota as well.
[JS] I suppose it depends on what you are doing. If, for example, you wanted
to display a user's status in "real" time, it might be more efficient to
keep a running total.
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] New event proposition
- From: Michal Kolodziejski
- [dokuwiki] Re: New event proposition
- From: Andreas Gohr
- [dokuwiki] Re: New event proposition
- From: Jerry Schwartz
- [dokuwiki] Re: New event proposition
- From: Andreas Gohr
Other related posts:
- » [dokuwiki] New event proposition
- » [dokuwiki] Re: New event proposition
- » [dokuwiki] Re: New event proposition
- » [dokuwiki] Re: New event proposition
- » [dokuwiki] Re: New event proposition
- » [dokuwiki] Re: New event proposition
- » [dokuwiki] Re: New event proposition
- [dokuwiki] New event proposition
- From: Michal Kolodziejski
- [dokuwiki] Re: New event proposition
- From: Andreas Gohr
- [dokuwiki] Re: New event proposition
- From: Jerry Schwartz
- [dokuwiki] Re: New event proposition
- From: Andreas Gohr