amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

data-poll-interval is not respected for amp-live-list and polling always happens at 15 seconds

Open vora1993 opened this issue 4 years ago • 2 comments

Trying to add data-poll-interval value as '45000' as I want my server to be polled at every 45 seconds. But it is not working and my server is always polled at every 15 seconds.

Here is the code that I am using:


 <amp-live-list layout="container" data-poll-interval="45000" data-max-items-per-page="1" id="amp-live-list-update">
      <button update on="tap:amp-live-list-update.update">You have updates</button>
      <div items>
        <div id="time" data-sort-time="1234567" data-update-time="1613191992899" class="time">
          The time is: <time>4:53:19 AM</time>
        </div>
      </div>
  </amp-live-list>

vora1993 avatar Feb 16 '21 07:02 vora1993

cc @ampproject/wg-components

erwinmombay avatar Feb 18 '21 23:02 erwinmombay

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 19 '25 08:07 stale[bot]