1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-18 21:59:30 +00:00

removed no longer relevant todo's

This commit is contained in:
postmannen 2024-11-27 08:43:44 +01:00
parent cdf660aa07
commit f80a57e1c2
3 changed files with 0 additions and 8 deletions

View file

@ -847,7 +847,6 @@ func copyDstSubProcFunc(proc process, cia copyInitialData, message Message, canc
proc.errorKernel.logDebug(er)
if _, err := os.Stat(cia.DstDir); os.IsNotExist(err) {
// TODO: Add option to set permission here ???
err := os.MkdirAll(cia.DstDir, fs.FileMode(cia.FolderPermission))
if err != nil {
return fmt.Errorf("error: failed to create destination directory for file copying %v: %v", cia.DstDir, err)

View file

@ -125,10 +125,6 @@ func methodKeysRequestUpdate(proc process, message Message, node string) ([]byte
func methodKeysDeliverUpdate(proc process, message Message, node string) ([]byte, error) {
// Get a context with the timeout specified in message.MethodTimeout.
// TODO:
// - Since this is implemented as a NACK message we could implement a
// metric thats shows the last time keys were updated.
ctx, _ := getContextForMethodTimeout(proc.ctx, message)
proc.processes.wg.Add(1)

View file

@ -495,9 +495,6 @@ func (s *server) routeMessagesToProcess() {
for sam := range s.newMessagesCh {
go func(sam subjectAndMessage) {
// TODO: Jetstream
// Check if Jetstream stream are specified,
// and send off to Jetstream publisher.
s.messageID.mu.Lock()
s.messageID.id++