Closed jtmaddux closed 4 years ago
I've had more success with this syntax: var disneyland = new Themeparks.Parks.DisneylandResortMagicKingdom({'cacheWaitTimesLength': 1});
Themeparks.Settings.CacheWaitTimesLength is no longer used.
I need to update the documentation, it's a little out-of-date following some rush jobs getting 5.x out when the old Disney API changed.
I am having trouble getting CacheWaitTimesLength to have any impact. I seem to get 5min wait even when I program a different value, for example:
var Themeparks = require("themeparks"); Themeparks.Settings.CacheWaitTimesLength = 60; //Time to cache waiting times (in seconds)