From 6c1d77fe8f726b85a07b6b4493f1aca1a1362477 Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Wed, 16 Apr 2014 10:24:05 +0200 Subject: [PATCH] adding changelog and comment --- ChangeLog.md | 3 +++ Classes/DigiComp/Sequence/Service/SequenceGenerator.php | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 ChangeLog.md diff --git a/ChangeLog.md b/ChangeLog.md new file mode 100644 index 0000000..0047f4a --- /dev/null +++ b/ChangeLog.md @@ -0,0 +1,3 @@ +new in 1.0: + + - taken from DigiComp.Controls \ No newline at end of file diff --git a/Classes/DigiComp/Sequence/Service/SequenceGenerator.php b/Classes/DigiComp/Sequence/Service/SequenceGenerator.php index 6a73074..8b69bac 100644 --- a/Classes/DigiComp/Sequence/Service/SequenceGenerator.php +++ b/Classes/DigiComp/Sequence/Service/SequenceGenerator.php @@ -12,6 +12,10 @@ use TYPO3\Flow\Annotations as Flow; /** * A SequenceNumber generator (should be DB-agnostic) * + * + * Thoughts: We could make the step-range configurable, and if > 1 we could return new keys immediately for this request, + * as we "reserved" the space between. + * * @Flow\Scope("singleton") */ class SequenceGenerator {