Skip to content

Feature/events api with selections#491

Merged
mudhoney merged 15 commits into
Helioviewer-Project:mainfrom
mudhoney:feature/events-api-with-selections
May 26, 2026
Merged

Feature/events api with selections#491
mudhoney merged 15 commits into
Helioviewer-Project:mainfrom
mudhoney:feature/events-api-with-selections

Conversation

@mudhoney
Copy link
Copy Markdown
Contributor

  • fix movie event framing bug for long movies,
  • use selections for events-api requests cuts 2 min of movie making of events heavy long movies

Comment thread src/Event/Api/EventsApi.php Outdated
public const VALID_SOURCES = ['HEK', 'CCMC', 'RHESSI'];

/** Upstream-imposed cap on timestamps per batch request */
public const MAX_CHUNK_SIZE = 150;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove those, manage from ini only

Comment thread src/Event/Api/EventsApi.php Outdated
public const MAX_CHUNK_SIZE = 150;

/** Upstream-imposed cap on selections per frames_with_selections request */
public const MAX_SELECTIONS = 200;
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

put comments about events-api limits

'moon' => false,
'eventsApi' => null,
'batchEventResponse' => []
'eventContext' => null,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let see to make this variable empty context, see it is better to have ?

Comment thread src/Module/WebClient.php Outdated
'eclipse' => true,
'moon' => $this->_options['moon'],
'eventsApi' => $this->eventsApi()
'eventContext' => EventContext::empty()
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove those, when default is empty context, then you are safer, and don't need to do this ( thanx daniel)

@mudhoney mudhoney merged commit 4a12486 into Helioviewer-Project:main May 26, 2026
6 of 14 checks passed
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.

2 participants