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

Tray: Force start tray #798

Merged
merged 4 commits into from
Jul 24, 2024
Merged

Tray: Force start tray #798

merged 4 commits into from
Jul 24, 2024

Conversation

iLLiCiTiT
Copy link
Member

Changelog Description

Added option to force start of tray.

Additional info

Using --force will kill existing tray process and start a new one. Can be used when tray is for some reason stuct and artist should be able to continue.

Testing notes:

  1. Create package and upload to server, or use dev path (server part is not needed).
  2. Start a tray in one terminal.
  3. Start a tray in second terminal > this should tell you that tray is already running.
  4. Start a tray in second terminal with --force argument > previous tray should stop and new should start.

# Conflicts:
#	client/ayon_core/tools/tray/lib.py
@ynbot ynbot added size/XS type: enhancement Improvement of existing functionality or minor addition labels Jul 24, 2024
@64qam
Copy link
Member

64qam commented Jul 24, 2024

Ayon is still running from the first terminal and the second always stops with "Tray is already running". Unable to stop the first one.

@iLLiCiTiT
Copy link
Member Author

Ayon is still running from the first terminal and the second always stops with "Tray is already running". Unable to stop the first one.

Please try again, there was some issue with encoding.

@64qam
Copy link
Member

64qam commented Jul 24, 2024

Works only if ayon is lauched with tray --force

@iLLiCiTiT iLLiCiTiT merged commit 0a647ae into develop Jul 24, 2024
3 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancement/force-start-tray branch July 24, 2024 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/XS type: enhancement Improvement of existing functionality or minor addition
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants