MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Communication from node helper to module: Taking too long

    Scheduled Pinned Locked Moved Development
    7 Posts 2 Posters 2.8k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cowboysdudeC Offline
      cowboysdude Module Developer @sharmmoh1983
      last edited by

      @sharmmoh1983 Well that can be due to so many modules all making the same call.

      It will tend to show a small delay as it processes them as quickly as it possibly can.

      1 Reply Last reply Reply Quote 0
      • S Offline
        sharmmoh1983
        last edited by

        No only one module is making the call

        1 Reply Last reply Reply Quote 0
        • cowboysdudeC Offline
          cowboysdude Module Developer
          last edited by

          Which module or are you just talking about ‘a’ module in general?

          1 Reply Last reply Reply Quote 0
          • S Offline
            sharmmoh1983
            last edited by

            I am talking about two modules in magic mirror which are having node helpers and issue is happening in both of them while communicating from node helper to their respective modules

            1 Reply Last reply Reply Quote 0
            • cowboysdudeC Offline
              cowboysdude Module Developer
              last edited by

              Which 2? Depending on what info they are calling for could be the delay

              1 Reply Last reply Reply Quote 0
              • S Offline
                sharmmoh1983
                last edited by

                I am calling :

                Node_helper:

                self.sendSocketNotification(‘SONUS’, sonus);

                Module:

                socketNotificationReceived: function (notification, payload) {
                receivedNotification(this,notification,payload);
                }

                It is taking seven seconds from Node helper to Module

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy