Module: nagvis
Branch: master
Commit: 9308f79fddcde4c3141952b4be5eb51b2307ce3d
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=9308f79fddcde4c3141952b4be5eb51b2307ce3d

Author: Andriy Skuratov <[email protected]>
Date:   Thu Aug 27 12:02:23 2009 +0300

gmap:Poller tuned to start after links are loaded and timout increased for 
production.

---

 uifx/src/modules/gmap/mate/StartupEM.mxml |    1 +
 uifx/src/modules/gmap/mediator/Poller.as  |    4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/uifx/src/modules/gmap/mate/StartupEM.mxml 
b/uifx/src/modules/gmap/mate/StartupEM.mxml
index fc74baf..3b83de5 100644
--- a/uifx/src/modules/gmap/mate/StartupEM.mxml
+++ b/uifx/src/modules/gmap/mate/StartupEM.mxml
@@ -60,6 +60,7 @@
                                <RemoteObjectInvoker destination="zend" 
source="LinkService" method="getAll" arguments="false" debug="true">
                                        <resultHandlers>
                                                <MethodInvoker 
generator="{LinksData}" method="fill" arguments="{resultObject}"/>
+                                               <MethodInvoker 
generator="{Poller}" method="resourceReady"/>
                                        </resultHandlers>
                                </RemoteObjectInvoker>
 
diff --git a/uifx/src/modules/gmap/mediator/Poller.as 
b/uifx/src/modules/gmap/mediator/Poller.as
index 1f77415..868c378 100644
--- a/uifx/src/modules/gmap/mediator/Poller.as
+++ b/uifx/src/modules/gmap/mediator/Poller.as
@@ -30,7 +30,7 @@ package modules.gmap.mediator
        {
                public static const TIMEOUT : String = "PollerTimeout";
 
-               private var _semaphor : int = 1;
+               private var _semaphor : int = 2;
                private var _dispatcher : IEventDispatcher;
                private var _timer : Timer;
 
@@ -38,7 +38,7 @@ package modules.gmap.mediator
                {
                        _dispatcher = dispatcher;
 
-                       _timer = new Timer(5000);
+                       _timer = new Timer(30000);
                        _timer.addEventListener(TimerEvent.TIMER, onTimer);
                }
 


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to