Re: Pagure / src.fp.o page comments go "stale"

2020-12-22 Thread Fabio Valentini
On Mon, Dec 21, 2020 at 12:37 PM Petr Pisar  wrote:
>
> On Sun, Dec 20, 2020 at 08:49:13AM -0500, Neal Gompa wrote:
> > On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw  wrote:
> > >
> > > I've noticed for a while now that if I leave one of the above pages open 
> > > for an extended period of time that I can no longer submit comments. I 
> > > just get the cursor circle of death and it just sits there indefinitely.
> > >
> > > I've resorted to copying my comments, refreshing the page, and then 
> > > submitting again which always works, but the question is:
> > >
> > > Why is this necessary to begin with?
> >
> > There are only two cases where this happens:
> >
> > 1. You are expiring your login sessions aggressively locally (purging
> > cookies, etc.)
> > 2. The browser is disconnecting and killing the memory processes 
> > aggressively
> >
> > Neither of which are from Pagure's side.
>
> But the failed AJAX request should return an error (after a timeout) and a
> server-provided JavaScript client should handle the error gracefully. Instead
> of falling into a does-not-halt state.

I can confirm that this happens for me too lately - comments on pages
for PRs and Issues get "stuck" - making newly submitted comments not
show up and new comments are not getting committed, and the only way
to fix this is to copy the comment text, reload the page, paste the
comment again, and hit the submit button again.

Fabio
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Pagure / src.fp.o page comments go "stale"

2020-12-21 Thread Petr Pisar
On Sun, Dec 20, 2020 at 08:49:13AM -0500, Neal Gompa wrote:
> On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw  wrote:
> >
> > I've noticed for a while now that if I leave one of the above pages open 
> > for an extended period of time that I can no longer submit comments. I just 
> > get the cursor circle of death and it just sits there indefinitely.
> >
> > I've resorted to copying my comments, refreshing the page, and then 
> > submitting again which always works, but the question is:
> >
> > Why is this necessary to begin with?
> 
> There are only two cases where this happens:
> 
> 1. You are expiring your login sessions aggressively locally (purging
> cookies, etc.)
> 2. The browser is disconnecting and killing the memory processes aggressively
> 
> Neither of which are from Pagure's side.

But the failed AJAX request should return an error (after a timeout) and a
server-provided JavaScript client should handle the error gracefully. Instead
of falling into a does-not-halt state.

-- Petr


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Pagure / src.fp.o page comments go "stale"

2020-12-20 Thread Richard Shaw
On Sun, Dec 20, 2020 at 8:13 AM Neal Gompa  wrote:

> On Sun, Dec 20, 2020 at 9:11 AM Richard Shaw  wrote:
> >
> > On Sun, Dec 20, 2020 at 7:50 AM Neal Gompa  wrote:
> >>
> >> On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw 
> wrote:
> >> >
> >> > I've noticed for a while now that if I leave one of the above pages
> open for an extended period of time that I can no longer submit comments. I
> just get the cursor circle of death and it just sits there indefinitely.
> >> >
> >> > I've resorted to copying my comments, refreshing the page, and then
> submitting again which always works, but the question is:
> >> >
> >> > Why is this necessary to begin with?
> >>
> >> There are only two cases where this happens:
> >>
> >> 1. You are expiring your login sessions aggressively locally (purging
> >> cookies, etc.)
> >> 2. The browser is disconnecting and killing the memory processes
> aggressively
> >>
> >> Neither of which are from Pagure's side. Do you have any extensions in
> >> your browser that could do either?
> >
> >
> > Not purging anything on a regular basis...
> >
> > It's Google Chrome and I only have 4 extensions installed (Wikibuy,
> Remote Desktop, Offline google docs, and gmail links for mailto:).
> >
>
> Is your system suffering from high memory pressure? Chrome disables
> processes aggressively in that circumstance, and failing that,
> earlyoom would do the same.
>

I wouldn't think that would be the problem but I do keep a lot of tabs
open. I had 16GB memory but recently upgraded to 32GB.

Thanks,
Richard
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Pagure / src.fp.o page comments go "stale"

2020-12-20 Thread Neal Gompa
On Sun, Dec 20, 2020 at 9:11 AM Richard Shaw  wrote:
>
> On Sun, Dec 20, 2020 at 7:50 AM Neal Gompa  wrote:
>>
>> On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw  wrote:
>> >
>> > I've noticed for a while now that if I leave one of the above pages open 
>> > for an extended period of time that I can no longer submit comments. I 
>> > just get the cursor circle of death and it just sits there indefinitely.
>> >
>> > I've resorted to copying my comments, refreshing the page, and then 
>> > submitting again which always works, but the question is:
>> >
>> > Why is this necessary to begin with?
>>
>> There are only two cases where this happens:
>>
>> 1. You are expiring your login sessions aggressively locally (purging
>> cookies, etc.)
>> 2. The browser is disconnecting and killing the memory processes aggressively
>>
>> Neither of which are from Pagure's side. Do you have any extensions in
>> your browser that could do either?
>
>
> Not purging anything on a regular basis...
>
> It's Google Chrome and I only have 4 extensions installed (Wikibuy, Remote 
> Desktop, Offline google docs, and gmail links for mailto:).
>

Is your system suffering from high memory pressure? Chrome disables
processes aggressively in that circumstance, and failing that,
earlyoom would do the same.



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Pagure / src.fp.o page comments go "stale"

2020-12-20 Thread Richard Shaw
On Sun, Dec 20, 2020 at 7:50 AM Neal Gompa  wrote:

> On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw  wrote:
> >
> > I've noticed for a while now that if I leave one of the above pages open
> for an extended period of time that I can no longer submit comments. I just
> get the cursor circle of death and it just sits there indefinitely.
> >
> > I've resorted to copying my comments, refreshing the page, and then
> submitting again which always works, but the question is:
> >
> > Why is this necessary to begin with?
>
> There are only two cases where this happens:
>
> 1. You are expiring your login sessions aggressively locally (purging
> cookies, etc.)
> 2. The browser is disconnecting and killing the memory processes
> aggressively
>
> Neither of which are from Pagure's side. Do you have any extensions in
> your browser that could do either?
>

Not purging anything on a regular basis...

It's Google Chrome and I only have 4 extensions installed (Wikibuy, Remote
Desktop, Offline google docs, and gmail links for mailto:).

Thanks,
Richard
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Pagure / src.fp.o page comments go "stale"

2020-12-20 Thread Neal Gompa
On Sun, Dec 20, 2020 at 8:47 AM Richard Shaw  wrote:
>
> I've noticed for a while now that if I leave one of the above pages open for 
> an extended period of time that I can no longer submit comments. I just get 
> the cursor circle of death and it just sits there indefinitely.
>
> I've resorted to copying my comments, refreshing the page, and then 
> submitting again which always works, but the question is:
>
> Why is this necessary to begin with?

There are only two cases where this happens:

1. You are expiring your login sessions aggressively locally (purging
cookies, etc.)
2. The browser is disconnecting and killing the memory processes aggressively

Neither of which are from Pagure's side. Do you have any extensions in
your browser that could do either?



-- 
真実はいつも一つ!/ Always, there's only one truth!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Pagure / src.fp.o page comments go "stale"

2020-12-20 Thread Richard Shaw
I've noticed for a while now that if I leave one of the above pages open
for an extended period of time that I can no longer submit comments. I just
get the cursor circle of death and it just sits there indefinitely.

I've resorted to copying my comments, refreshing the page, and then
submitting again which always works, but the question is:

Why is this necessary to begin with?

Thanks,
Richard
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org