Hello everyone,
My question is the following.
We have a service that we populated with GPS cars data and we made an app to show how the cars are moving on the map.

We noticed that the data is refreshing too slow, and we actually want to see the cars movement on the map.
I setted up the service as dynamic layer, and in the API there is a property called refreshInterval where the minimun interval is 1 minute and 0 if u want to stop autorefresh.
Actually i didnt set up the property yet, so i dont know what is the default interval for the map.
The table where we get the data is updated in less than a minute. So we realized the refresh is still very slow.
Which is the best option for this? in terms on settings and programming in js.
How i implement the layer is:
<SPAN class="keyword token">var</SPAN> gpsCars <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">ArcGISDynamicMapServiceLayer</SPAN><SPAN class="punctuation token">(</SPAN>layers<SPAN class="punctuation token">.</SPAN><SPAN class="token function">read_GPS</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">,</SPAN> <SPAN class="punctuation token">{</SPAN>id<SPAN class="punctuation token">:</SPAN><SPAN class="string token">"gis_gps"</SPAN><SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
gpsCars<SPAN class="punctuation token">.</SPAN><SPAN class="token function">setInfoTemplates</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN>
<SPAN class="number token">0</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="punctuation token">{</SPAN>infoTemplate<SPAN class="punctuation token">:</SPAN> myinfotemplate<SPAN class="punctuation token">.</SPAN><SPAN class="token function">getCarsInfo</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">}</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
gpsCars<SPAN class="punctuation token">.</SPAN><SPAN class="token function">setImageFormat</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"png32"</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
mapp<SPAN class="punctuation token">.</SPAN><SPAN class="token function">addLayers</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">[</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="punctuation token">,</SPAN> gpsCars<SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>Thanks in advice 