app/queue.yaml
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 13 Aug 2009 14:02:22 -0700
changeset 2770 71a5a56cf29e
parent 2655 7aedfa3e0dfd
child 2815 830267fe90e6
permissions -rw-r--r--
Redone the acceptedStudentsExport functionality. The method has been renamed to exportStudentsWithProjects and retrieves the document_name and the new shipping address properties. Also it filters out all invalid projects or projects for wich the scope_path doesn't match the given scope_pa th_start. Also there is no more need to use the argument given to this method when adding the extra columns. The data is now prepared by one loop which uses the key present in the accepted_students dictionary for retrieving the data used by the extra columns.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2594
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
# Copyright 2009 the Melange authors.
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
#
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
# Licensed under the Apache License, Version 2.0 (the "License");
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
# you may not use this file except in compliance with the License.
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
# You may obtain a copy of the License at
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
# 
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
#   http://www.apache.org/licenses/LICENSE-2.0
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
# 
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
# Unless required by applicable law or agreed to in writing, software
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
# distributed under the License is distributed on an "AS IS" BASIS,
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
# See the License for the specific language governing permissions and
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
# limitations under the License.
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
queue:
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
# queue used for tasks that send out mail
dd300af0e7df Added empty Tasks package and queue.yaml.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
- name: mail
2655
7aedfa3e0dfd Slow down mail tasks some more to ensure they actually complete.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2594
diff changeset
    19
  rate: 1/s
7aedfa3e0dfd Slow down mail tasks some more to ensure they actually complete.
Lennard de Rijk <ljvderijk@gmail.com>
parents: 2594
diff changeset
    20
  bucket_size: 1