Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for running plugin in Mura 6.2 #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Miguel-F
Copy link

Ran into several issues while attempting to run this plugin on Mura 6.2. Changes for this file:

Added a trailing slash to the "this.muraAppConfigPath" variable in the pre 7.1 section.

Added setting of the request timeout to extend it. This process takes a long time on a server with several pages. I set it to 60 seconds here but it was taking over 1.5 hours on our production server. It will need to be set per installation or configurable perhaps.

Added setting of the "session.siteid" because it was being set to "default" when running from the scheduled task. I assume the session does not exist when running from the scheduler. The condition checks for the default setting, and if true then check to see if the "url.site" has been set and uses that. Otherwise stick with "default".

Ran into several issues while attempting to run this plugin on Mura 6.2. Changes for this file:

Added a trailing slash to the "this.muraAppConfigPath" variable in the pre 7.1 section.

Added setting of the request timeout to extend it. This process takes a long time on a server with several pages.  I set it to 60 seconds here but it was taking over 1.5 hours on our production server. It will need to be set per installation or configurable perhaps.

Added setting of the "session.siteid" because it was being set to "default" when running from the scheduled task.  I assume the session does not exist when running from the scheduler.  The condition checks for the default setting, and if true then check to see if the "url.site" has been set and uses that.  Otherwise stick with "default".
@Miguel-F
Copy link
Author

Forgot to mention, we should probably add some validation to the "url.site" variable before assigning it to the session. I wasn't sure what limitations (if any) are assigned to the siteid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant