On 12/20, Walden Raines wrote: > I also added an item to the Team UX backlog to make the notifications use > websockets (or similar) instead of the polling. The polling annoys me as > well.
Definitely the way to go, I've been experimenting with ActionCable and it's not only cleaner (way less code, check out our polling code) but more efficient. https://github.com/dlobatog/foreman/tree/actioncable The biggest limitation is https://github.com/phusion/passenger/issues/1202 - which I'm able to circumvent with mod_proxy_wstunnel, http://anycable.io/ as Ohad mentioned on IRC the other day looks like a feasible suggestion (if a bit more involved) > > Cheers, > Walden > > On Wed, Dec 20, 2017 at 5:02 AM, Tomas Strachota <tstra...@redhat.com> > wrote: > > > On Wed, Dec 20, 2017 at 9:09 AM, Ohad Levy <ohadl...@gmail.com> wrote: > > > > > > > > > On Wed, Dec 20, 2017 at 10:07 AM, Lukas Zapletal <l...@redhat.com> > > wrote: > > >> > > >> Hello, > > >> > > >> while I agree that notifications is useful feature to our users, its > > >> one second polling mechanism is killing me during development, it > > >> makes watching logs or debugging sessions a nightmare. > > >> > > >> I propose an Administer - Setting option to completely turn it off - > > >> no notification bell icon, no polling. If there is someone who things > > >> users should not be given this option, let's make this an > > >> environmental variable. > > >> > > >> Opinions? > > > > > > 1. a Global setting, followed by a user setting sounds sane to me. > > > 2. do you know that there is a global env already? just run: > > > > > > NOTIFICATIONS_POLLING=1000000 foreman start > > > > Great, I didn't know that. > > > > Polling annoys me in development as well, but this env variable is > > enough for me. Thanks! > > > > > > > >> > > >> -- > > >> Later, > > >> Lukas @lzap Zapletal > > >> > > >> -- > > >> You received this message because you are subscribed to the Google > > Groups > > >> "foreman-dev" group. > > >> To unsubscribe from this group and stop receiving emails from it, send > > an > > >> email to foreman-dev+unsubscr...@googlegroups.com. > > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "foreman-dev" group. > > > To unsubscribe from this group and stop receiving emails from it, send an > > > email to foreman-dev+unsubscr...@googlegroups.com. > > > For more options, visit https://groups.google.com/d/optout. > > > > -- > > You received this message because you are subscribed to the Google Groups > > "foreman-dev" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to foreman-dev+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > You received this message because you are subscribed to the Google Groups > "foreman-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to foreman-dev+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Daniel Lobato Garcia @dLobatog blog.daniellobato.me daniellobato.me GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30 Keybase: https://keybase.io/elobato -- You received this message because you are subscribed to the Google Groups "foreman-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: PGP signature