Code Monkey home page Code Monkey logo

Comments (6)

nickvergessen avatar nickvergessen commented on May 23, 2024

Yeah would be possible. However in the past the cron job was documented to run all 15 minutes. In which case the email could still be 29 minutes off in worst case. That's why the option was never added.
But yeah there is room for improvement here.

from activity.

HungryHowies avatar HungryHowies commented on May 23, 2024

I also was wondering about Email Notification time. I tried to modify/fix this but unfortunately did not work as expected.
https://help.nextcloud.com/t/email-activity-notification/3543/3
This would be great if we had a choice within 15 minutes notification time.

from activity.

Sevey avatar Sevey commented on May 23, 2024

I personally would like to see it under 5 minutes. Even better would be real-time.

from activity.

nickvergessen avatar nickvergessen commented on May 23, 2024

That is not what this feature was designed for. Also real time will slow down uploading and editing files, etc.

I will have a look at the cron and what we can do for the fastest option.

from activity.

Sevey avatar Sevey commented on May 23, 2024

Nick - Would you be able to elaborate on what it was designed for? Perhaps we're simply not using it right or don't have the same thought process.

I'm using it to receive notifications of new folders that are shared with me primarily. In today's age where Facebook, twitter and everything else is all delivered in real-time, I think it would be nice to see NextCloud doing the same.

Could you elaborate why a realtime email that says "User xya has shared abc with you" would slow down uploading files? I think I'm only getting notifications of a file/folder being shared with me, not a file being uploaded or edited. Those sound like they would be two very separate processes being interacted with so I'm confused as to why immediately sending a notification that a folder was shared (an access change) would slow down file uploads? I admit I'm not a NextCloud expert but I'm looking to learn.

From our use case, I'll share a folder with someone, perhaps prior to a meeting. 20 minutes later when I talk to them I'll say "Hey did you have a chance to look at those files I sent over?", and they won't have known it was even shared with them yet.

from activity.

nickvergessen avatar nickvergessen commented on May 23, 2024

Would you be able to elaborate on what it was designed for? Perhaps we're simply not using it right or don't have the same thought process.

Sure, that's why we are here, right?

I'm using it to receive notifications of new folders that are shared with me primarily.

This was exactly my guess ;)
But I have good news for you in this case. Did you ever try a federated share? It creates a notification on our notification endpoint. This notification endpoint is already read by the desktop sync client and the mobile clients will follow in the near future.

For the "normal" (local) shares we are planning to do the same. (Can't find the issue right now, @rullzer ). But as soon as this is implemented, you phone/desktop will already notify you about the received share, so there is no more need to also send an email ;)

As a side note:
The share activity is not a huge slow down. However the activities which would be generated when you upload a file "User X has uploaded file Y" need to be generated for each user, with their paths, which required a lot of work and is very expensive under the hood.

from activity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.