Skip to content

Conversation

@jmtt89
Copy link

@jmtt89 jmtt89 commented May 17, 2022

With these changes, the need for future maintenance of the library should be reduced.

  • Remove guzzlehttp/guzzle and add custom CURL implementation for http request
  • Remove ramsey/uuid for random_compat in >= php7 and use paragonie/random_compat polyfill for random_bytes() in PHP 5.x

$result->results = array_map(function (\WF\Hypernova\Job $job) {
$jobResult = new JobResult();
$uuid = \Ramsey\Uuid\Uuid::uuid4();
$uuid = random_bytes(16);

Choose a reason for hiding this comment

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

This can cause conflicts, should be a uuid

Copy link
Author

Choose a reason for hiding this comment

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

The id only need to be unique on every render, not need to be globally unique...

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