Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Custom events 100 limit

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Custom events 100 limit



    Following on from this thread. Am I right in saying that any other event resets the count of custom events - e.g. if you had 50 custom then an onbar then 50 custom etc you'd never get this error?

    This limit is arbitrary and annoying. It may catch what it needs to, but it catches much more besides. If you have a daily strategy with one onbarupdate per day, you can easily get to 100 custom events if you trigger one every five minutes.

    Ninja rarely bothers detecting infinite loops elsewhere in the code - why not get rid of it here too and trust users with their own code?

    #2
    Dave, your understanding is correct, however we're not sure how you would force a regular event then inbetween...the check is in place for the specific reasons outlined in the thread you cited.

    Comment


      #3
      Well how about removing it, or putting it as an option.

      Three observations -

      1. I'm trying to write high performance code, and I'd rather not have unseen code behind the scenes counting my calls and checking against a limit

      2. Please trust me to write my own code and not have infinite loops in it. You don't check for infinite loops in loads of other places, so please don't do it behind the scenes here.

      3. That thread states there is a significant likelihood that the behaviour is unintended. Well both myself and the OP in that thread do intend it.

      Come on guys - if you're serious about Ninja being used professionally treat us like professionals.

      Comment


        #4
        Dave, thank you for clarifying and explaining why you would prefer to not have this check / have it custom configurable - I'll forward it for consideration.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        89 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        69 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X